mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
[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 <atse@xensource.com>
This commit is contained in:
1 parent
3a1c98ecfb
commit
a089f6e2cd
1 file changed
+1
-1
@@ -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()
|
||||
|
||||