mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
xend: Small fix for hvm/hap flags.
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
This commit is contained in:
1 parent
fe1725b641
commit
a1d430b309
1 file changed
+1
-1
@@ -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
|
||||
|
||||