[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:
Alastair Tse committed 2007-01-04 16:21:12 +00:00
1 parent 3a1c98ecfb
commit a089f6e2cd
1 file changed
+1 -1
+1 -1
View File
@@ -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()
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.