mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
xend: Fix getStubdomDomid function
Signed-off-by: Keir Fraser <keir.fraser@citrix.com> xen-unstable changeset: 21394:4dc64aa43692 xen-unstable date: Sat May 15 08:31:42 2010 +0100
This commit is contained in:
1 parent
3983c79424
commit
88ab606b02
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||