From: Michal Novotny <minovotn@redhat.com>
To: "xen-de >> \"'xen-devel@lists.xensource.com'\""
<xen-devel@lists.xensource.com>
Subject: [PATCH] Fix maxvcpus support
Date: Wed, 25 Nov 2009 18:01:25 +0100 [thread overview]
Message-ID: <4B0D62E5.9020604@redhat.com> (raw)
[-- 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
reply other threads:[~2009-11-25 17:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B0D62E5.9020604@redhat.com \
--to=minovotn@redhat.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.