projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3157bb4
)
xend: Fix getStubdomDomid function
author
Keir Fraser
<keir.fraser@citrix.com>
Sat, 15 May 2010 07:31:42 +0000
(08:31 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Sat, 15 May 2010 07:31:42 +0000
(08:31 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index dcf26a9886eef15460cea5fcbfd6cd2f2ea0b315..e0c539d41657df4add2eb93052aa08912913cd03 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-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