direct-io.hg

changeset 15394:168b143a1a88

Fix xm vcpu-set command for managed domains, to take effect immediately.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author kfraser@localhost.localdomain
date Wed Jun 20 14:43:41 2007 +0100 (2007-06-20)
parents 63077ce6a7dc
children 3187ffc5272c
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Wed Jun 20 14:41:27 2007 +0100
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Wed Jun 20 14:43:41 2007 +0100
     1.3 @@ -983,7 +983,7 @@ class XendDomainInfo:
     1.4                  self.info['VCPUs_live'] = vcpus
     1.5                  self._writeDom(self._vcpuDomDetails())
     1.6          else:
     1.7 -            self.info['VCPUs_live'] = vcpus
     1.8 +            self.info['VCPUs_max'] = vcpus
     1.9              xen.xend.XendDomain.instance().managed_config_save(self)
    1.10          log.info("Set VCPU count on domain %s to %d", self.info['name_label'],
    1.11                   vcpus)