[XEND] Fix block-list for dom0 in xm.
authorAlastair Tse <atse@xensource.com>
Thu, 4 Jan 2007 16:42:44 +0000 (16:42 +0000)
committerAlastair Tse <atse@xensource.com>
Thu, 4 Jan 2007 16:42:44 +0000 (16:42 +0000)
Signed-off-by: Alastair Tse <atse@xensource.com>
tools/python/xen/xend/XendConfig.py

index 92af7b4239f4bf20ed0ada24aafec041ac296e51..f003c6e9eb02c05e599d7a99cd9a524e2a457286 100644 (file)
@@ -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()