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] Return the stored vcpus_params if the dom

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Return the stored vcpus_params if the domain is not running.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 01 Feb 2007 13:35:22 -0800
Delivery-date: Thu, 01 Feb 2007 13:37:06 -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 Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1170353680 0
# Node ID b32a44bfb10ccd23cd6ac71883cea65fb4c7b1a0
# Parent  cc36013f77851f46027bca0e419c8410f4742210
Return the stored vcpus_params if the domain is not running.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
 tools/python/xen/xend/XendDomainInfo.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r cc36013f7785 -r b32a44bfb10c tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Thu Feb 01 17:52:08 2007 +0000
+++ b/tools/python/xen/xend/XendDomainInfo.py   Thu Feb 01 18:14:40 2007 +0000
@@ -1978,7 +1978,7 @@ class XendDomainInfo:
             return 'unknown'
     def get_vcpus_params(self):
         if self.getDomid() is None:
-            return {}
+            return self.info['vcpus_params']
         retval = xc.sched_credit_domain_get(self.getDomid())
         return retval

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Return the stored vcpus_params if the domain is not running., Xen patchbot-unstable <=