[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEND] Fix block-list for dom0 in xm.



# HG changeset patch
# User Alastair Tse <atse@xxxxxxxxxxxxx>
# Date 1167928964 0
# Node ID 532b5b999b30145a61e3a447ec8c5535de54acf2
# Parent  3157b54eb46558dc97b549377b603a3ca4966998
[XEND] Fix block-list for dom0 in xm.

Signed-off-by: Alastair Tse <atse@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendConfig.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 3157b54eb465 -r 532b5b999b30 tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py       Thu Jan 04 16:34:19 2007 +0000
+++ b/tools/python/xen/xend/XendConfig.py       Thu Jan 04 16:42:44 2007 +0000
@@ -859,7 +859,7 @@ class XendConfig(dict):
                 found = False
                 
                 # figure if there is a dev controller is valid and running
-                if domain and domain.getDomid():
+                if domain and domain.getDomid() != None:
                     try:
                         controller = domain.getDeviceController(cls)
                         configs = controller.configurations()

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.