From: Keir Fraser Date: Wed, 30 Jan 2008 09:38:10 +0000 (+0000) Subject: xend: Small fix for hvm/hap flags. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14350 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a1d430b3091bdd486816b907f2bc27b284347f34;p=xen.git xend: Small fix for hvm/hap flags. Signed-off-by: Yosuke Iwamatsu --- 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