From 88ab606b02624fb926b029e00cc2f64c3cef8f6b Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Sat, 15 May 2010 08:39:03 +0100 Subject: [PATCH] xend: Fix getStubdomDomid function Signed-off-by: Keir Fraser xen-unstable changeset: 21394:4dc64aa43692 xen-unstable date: Sat May 15 08:31:42 2010 +0100 --- tools/python/xen/xend/XendDomainInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 585a73bff3..4f2e7044e7 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -1923,7 +1923,7 @@ class XendDomainInfo: dom_list = xstransact.List('/local/domain') for d in dom_list: target = xstransact.Read('/local/domain/' + d + '/target') - if target is not None and int(target) is self.domid : + if target is not None and int(target) == self.domid: return int(d) return None