Small Fix for HVM/HAP Flags
PATCH 1/1 Small Fix for HVM/HAP Flags
Small fix for hvm/hap flags.
HVM restore fails without this.
Regards,
-------------------
Yosuke Iwamatsu
NEC Corporation
# HG changeset patch
# User [email protected]
# Date 1201681105 -32400
# Node ID c7422d17f74a176dfee01b1c1ce75e8bfd50355d # Parent 1a357a1504b26755edfac3fe0a37ea805d071d3a Small fix for hvm/hap flags.
Signed-off-by Yosuke Iwamatsu <[email protected]>
tools/python/xen/xend/XendDomainInfo.py +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
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel