ia64/xen-unstable

changeset 13819:b32a44bfb10c

Return the stored vcpus_params if the domain is not running.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Thu Feb 01 18:14:40 2007 +0000 (2007-02-01)
parents cc36013f7785
children e0b7ab2a1d56
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Thu Feb 01 17:52:08 2007 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Thu Feb 01 18:14:40 2007 +0000
     1.3 @@ -1978,7 +1978,7 @@ class XendDomainInfo:
     1.4              return 'unknown'
     1.5      def get_vcpus_params(self):
     1.6          if self.getDomid() is None:
     1.7 -            return {}
     1.8 +            return self.info['vcpus_params']
     1.9  
    1.10          retval = xc.sched_credit_domain_get(self.getDomid())
    1.11          return retval