diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-06-20 14:43:41 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-06-20 14:43:41 +0100 |
commit | 7d698de822838a640aeb1f1551c298ab2acb21c7 (patch) | |
tree | b207cf18d237ba98999ac7b4cc3ac94b913cb92d /tools | |
parent | a705b24a9d933221b1030d8d6ba36751dbafcfcd (diff) | |
download | xen-7d698de822838a640aeb1f1551c298ab2acb21c7.tar.gz xen-7d698de822838a640aeb1f1551c298ab2acb21c7.tar.bz2 xen-7d698de822838a640aeb1f1551c298ab2acb21c7.zip |
Fix xm vcpu-set command for managed domains, to take effect immediately.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/python/xen/xend/XendDomainInfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 39d07b3645..2f9eb592f5 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -983,7 +983,7 @@ class XendDomainInfo: self.info['VCPUs_live'] = vcpus self._writeDom(self._vcpuDomDetails()) else: - self.info['VCPUs_live'] = vcpus + self.info['VCPUs_max'] = vcpus xen.xend.XendDomain.instance().managed_config_save(self) log.info("Set VCPU count on domain %s to %d", self.info['name_label'], vcpus) |