* [PATCH] Fix maxvcpus support
@ 2009-11-25 17:01 Michal Novotny
0 siblings, 0 replies; only message in thread
From: Michal Novotny @ 2009-11-25 17:01 UTC (permalink / raw)
To: xen-de >> "'xen-devel@lists.xensource.com'"
[-- Attachment #1: Type: text/plain, Size: 249 bytes --]
Hi,
changeset 20495 at
http://xenbits.xensource.com/staging/xen-unstable.hg?rev/dc121a3c3a92 is
presenting a maxvcpus support that introduces an issue so this is the
patch to fix it...
Michal
Signed-off-by: Michal Novotny <minovotn@redhat.com>
[-- Attachment #2: xen-xm-maxvcpu-support-fix.patch --]
[-- Type: text/x-patch, Size: 521 bytes --]
diff -r c0e32941ee69 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py Wed Nov 25 14:19:50 2009 +0000
+++ b/tools/python/xen/xm/create.py Wed Nov 25 18:03:08 2009 +0100
@@ -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
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-25 17:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-25 17:01 [PATCH] Fix maxvcpus support Michal Novotny
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.