[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix multi-cpu save/restore after the max_vcpu patch.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 10c93f58b041b129351b33854fa7f46a7527a026 # Parent 43677823b395b7c043cb733a827d62e9c59357d7 Fix multi-cpu save/restore after the max_vcpu patch. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> diff -r 43677823b395 -r 10c93f58b041 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Thu Oct 13 10:12:11 2005 +++ b/tools/python/xen/xend/XendDomainInfo.py Thu Oct 13 14:19:29 2005 @@ -1012,6 +1012,8 @@ # shutdown_start_time from killing the domain, for example. self.removeDom() + # Set maximum number of vcpus in domain + xc.domain_max_vcpus(self.domid, int(self.info['vcpus'])) def initDomain(self): log.debug('XendDomainInfo.initDomain: %s %s %s', @@ -1030,9 +1032,6 @@ self.image.handleBootloading() xc.domain_setcpuweight(self.domid, self.info['cpu_weight']) - - # Set maximum number of vcpus in domain - xc.domain_max_vcpus(self.domid, int(self.info['vcpus'])); # XXX Merge with configure_maxmem? m = self.image.getDomainMemory(self.info['memory_KiB']) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |