[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEND] Only use DevController to generate SXP for running domains.



# HG changeset patch
# User Alastair Tse <atse@xxxxxxxxxxxxx>
# Date 1167927672 0
# Node ID cade632793b13b30ead81e74130fe8e55520f6e6
# Parent  d03beab5e1adeed3df3a786de32779dc5ea0cafa
[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@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendConfig.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r d03beab5e1ad -r cade632793b1 tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py       Thu Jan 04 15:58:20 2007 +0000
+++ b/tools/python/xen/xend/XendConfig.py       Thu Jan 04 16:21:12 2007 +0000
@@ -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()

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.