[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xend: Pass -vcpu-avail option to QEMU now it is supported.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1262680614 0
# Node ID de533c8993eb1b9496c5b6ba1f40e68507b2c9f0
# Parent  e5f1f9719d725693736b488afc6a8d37aee0cf8b
xend: Pass -vcpu-avail option to QEMU now it is supported.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/python/xen/xend/image.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r e5f1f9719d72 -r de533c8993eb tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Tue Jan 05 08:35:31 2010 +0000
+++ b/tools/python/xen/xend/image.py    Tue Jan 05 08:36:54 2010 +0000
@@ -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)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.