mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
[XEND] Fix block-list for dom0 in xm.
Signed-off-by: Alastair Tse <atse@xensource.com>
This commit is contained in:
1 parent
4b166e2a17
commit
ab452d0667
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 and domain.getDomid():
|
||||
if domain and domain.getDomid() != None:
|
||||
try:
|
||||
controller = domain.getDeviceController(cls)
|
||||
configs = controller.configurations()
|
||||
|
||||