diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-01-30 09:38:10 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-01-30 09:38:10 +0000 |
commit | a1d430b3091bdd486816b907f2bc27b284347f34 (patch) | |
tree | 7e0cf80a1f1bfc69b5f2e472339e466a6f6886b2 /tools | |
parent | fe1725b6410b87579af185830080bab75efa1cfe (diff) | |
download | xen-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.py | 2 |
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 |