aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-01-05 08:36:54 +0000
committerKeir Fraser <keir.fraser@citrix.com>2010-01-05 08:36:54 +0000
commit9b0440ff26fa7c0b88f97c1323c718ca13baf4a0 (patch)
treee4047f884e3f09c52197ba6bc34169ec110b018d
parentfcbf1496768b12b48df3d56f303fa07ce637cf1a (diff)
downloadxen-9b0440ff26fa7c0b88f97c1323c718ca13baf4a0.tar.gz
xen-9b0440ff26fa7c0b88f97c1323c718ca13baf4a0.tar.bz2
xen-9b0440ff26fa7c0b88f97c1323c718ca13baf4a0.zip
xend: Pass -vcpu-avail option to QEMU now it is supported.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-rw-r--r--tools/python/xen/xend/image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py
index 6c8a9a80c0..db6e6658f6 100644
--- a/tools/python/xen/xend/image.py
+++ b/tools/python/xen/xend/image.py
@@ -840,7 +840,7 @@ class HVMImageHandler(ImageHandler):
def parseDeviceModelArgs(self, vmConfig):
ret = ImageHandler.parseDeviceModelArgs(self, vmConfig)
ret = ret + ['-vcpus', str(self.vm.getVCpuCount())]
-# ret = ret + ['-vcpu_avail', str(self.vm.getVCpuAvail())]
+ ret = ret + ['-vcpu_avail', str(self.vm.getVCpuAvail())]
if self.kernel:
log.debug("kernel = %s", self.kernel)