ia64/xen-unstable

changeset 13264:532b5b999b30

[XEND] Fix block-list for dom0 in xm.

Signed-off-by: Alastair Tse <atse@xensource.com>
author Alastair Tse <atse@xensource.com>
date Thu Jan 04 16:42:44 2007 +0000 (2007-01-04)
parents 3157b54eb465
children 583f3e93a421 f890bbfc2d25
files tools/python/xen/xend/XendConfig.py
line diff
     1.1 --- a/tools/python/xen/xend/XendConfig.py	Thu Jan 04 16:34:19 2007 +0000
     1.2 +++ b/tools/python/xen/xend/XendConfig.py	Thu Jan 04 16:42:44 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 and domain.getDomid():
     1.8 +                if domain and domain.getDomid() != None:
     1.9                      try:
    1.10                          controller = domain.getDeviceController(cls)
    1.11                          configs = controller.configurations()