ia64/xen-unstable

changeset 13260:cade632793b1

[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>
author Alastair Tse <atse@xensource.com>
date Thu Jan 04 16:21:12 2007 +0000 (2007-01-04)
parents d03beab5e1ad
children 292edc60d260
files tools/python/xen/xend/XendConfig.py
line diff
     1.1 --- a/tools/python/xen/xend/XendConfig.py	Thu Jan 04 15:58:20 2007 +0000
     1.2 +++ b/tools/python/xen/xend/XendConfig.py	Thu Jan 04 16:21:12 2007 +0000
     1.3 @@ -859,7 +859,7 @@ class XendConfig(dict):
     1.4                  found = False
     1.5                  
     1.6                  # figure if there is a dev controller is valid and running
     1.7 -                if domain:
     1.8 +                if domain and domain.getDomid():
     1.9                      try:
    1.10                          controller = domain.getDeviceController(cls)
    1.11                          configs = controller.configurations()