# HG changeset patch # User Keir Fraser # Date 1201685890 0 # Node ID 47b7ec3b4055d59a09a1af26a29e8ef90e0d8d9c # Parent 92aa029e7cb19ac32c7e3ff2a3d78bd67af047f3 xend: Small fix for hvm/hap flags. Signed-off-by: Yosuke Iwamatsu Index: xen-3.2.1-testing/tools/python/xen/xend/XendDomainInfo.py =================================================================== --- xen-3.2.1-testing.orig/tools/python/xen/xend/XendDomainInfo.py +++ xen-3.2.1-testing/tools/python/xen/xend/XendDomainInfo.py @@ -1656,7 +1656,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)) except Exception, e: # may get here if due to ACM the operation is not permitted if security.on():