mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
xend: Fix getStubdomDomid function
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
1 parent
3157bb4e13
commit
e6cbaaddae
1 file changed
+1
-1
@@ -1925,7 +1925,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
|
||||
|
||||
|
||||