xend: Small fix for hvm/hap flags.

Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
This commit is contained in:
Keir Fraser committed 2008-01-30 09:38:10 +00:00
1 parent fe1725b641
commit a1d430b309
1 file changed
+1 -1
+1 -1
View File
@@ -1658,7 +1658,7 @@ class XendDomainInfo:
domid = 0,
ssidref = ssidref,
handle = uuid.fromString(self.info['uuid']),
flags = int((hvm << 0) | (hap << 1)),
flags = (int(hvm) << 0) | (int(hap) << 1),
target = self.info.target())
except Exception, e:
# may get here if due to ACM the operation is not permitted
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.