diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py index 92af7b4239..f003c6e9eb 100644 --- a/tools/python/xen/xend/XendConfig.py +++ b/tools/python/xen/xend/XendConfig.py @@ -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()