This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] [XEND] Only use DevController to generate

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEND] Only use DevController to generate SXP for running domains.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 05 Jan 2007 01:30:11 -0800
Delivery-date: Fri, 05 Jan 2007 01:30:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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():
                         controller = domain.getDeviceController(cls)
                         configs = controller.configurations()

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEND] Only use DevController to generate SXP for running domains., Xen patchbot-unstable <=