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

[Xen-changelog] [xen-unstable] xm: Fix maxvcpus support



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1259233046 0
# Node ID 3d04720e4d36b9a1d83453459f109ce1d0ea0bc1
# Parent  285db3c26655d204c0d9a7b49eedb61d91baf2c4
xm: Fix maxvcpus support

Signed-off-by: Michal Novotny <minovotn@xxxxxxxxxx>
---
 tools/python/xen/xm/create.py |    1 +
 1 files changed, 1 insertion(+)

diff -r 285db3c26655 -r 3d04720e4d36 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py     Thu Nov 26 10:56:49 2009 +0000
+++ b/tools/python/xen/xm/create.py     Thu Nov 26 10:57:26 2009 +0000
@@ -1041,6 +1041,7 @@ def make_config(vals):
             config.append(['vcpus', maxvcpus])
         if maxvcpus and vcpus:
            config.append(['vcpu_avail', (1 << vcpus) - 1])
+           config.append(['vcpus', maxvcpus])
 
         # For case we don't have maxvcpus set but we have vcpus we preserve
         # old behaviour

_______________________________________________
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®.