aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-30 09:38:10 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-30 09:38:10 +0000
commita1d430b3091bdd486816b907f2bc27b284347f34 (patch)
tree7e0cf80a1f1bfc69b5f2e472339e466a6f6886b2 /tools
parentfe1725b6410b87579af185830080bab75efa1cfe (diff)
downloadxen-a1d430b3091bdd486816b907f2bc27b284347f34.tar.gz
xen-a1d430b3091bdd486816b907f2bc27b284347f34.tar.bz2
xen-a1d430b3091bdd486816b907f2bc27b284347f34.zip
xend: Small fix for hvm/hap flags.
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/xen/xend/XendDomainInfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py
index fc8f073ec8..8cb1531f06 100644
--- a/tools/python/xen/xend/XendDomainInfo.py
+++ b/tools/python/xen/xend/XendDomainInfo.py
@@ -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