ia64/xen-unstable
changeset 16939:47b7ec3b4055
xend: Small fix for hvm/hap flags.
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Wed Jan 30 09:38:10 2008 +0000 (2008-01-30) |
parents | 92aa029e7cb1 |
children | 6ea3db7ae24d |
files | tools/python/xen/xend/XendDomainInfo.py |
line diff
1.1 --- a/tools/python/xen/xend/XendDomainInfo.py Wed Jan 30 09:37:06 2008 +0000 1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py Wed Jan 30 09:38:10 2008 +0000 1.3 @@ -1658,7 +1658,7 @@ class XendDomainInfo: 1.4 domid = 0, 1.5 ssidref = ssidref, 1.6 handle = uuid.fromString(self.info['uuid']), 1.7 - flags = int((hvm << 0) | (hap << 1)), 1.8 + flags = (int(hvm) << 0) | (int(hap) << 1), 1.9 target = self.info.target()) 1.10 except Exception, e: 1.11 # may get here if due to ACM the operation is not permitted