From: Alastair Tse Date: Thu, 4 Jan 2007 16:21:12 +0000 (+0000) Subject: [XEND] Only use DevController to generate SXP for running domains. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15422^2~87 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a089f6e2cd69091bb158d7c46df32c9984ed88d7;p=xen.git [XEND] Only use DevController to generate SXP for running domains. Otherwise the previous patch breaks managed domains in xm list. Signed-off-by: Alastair Tse --- diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py index d8bb63494c..92af7b4239 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: + if domain and domain.getDomid(): try: controller = domain.getDeviceController(cls) configs = controller.configurations()