From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Novotny Subject: [PATCH] Fix maxvcpus support Date: Wed, 25 Nov 2009 18:01:25 +0100 Message-ID: <4B0D62E5.9020604@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090205010300090004030506" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-de >> \"'xen-devel@lists.xensource.com'\"" List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------090205010300090004030506 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------090205010300090004030506 Content-Type: text/x-patch; name="xen-xm-maxvcpu-support-fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen-xm-maxvcpu-support-fix.patch" 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 --------------090205010300090004030506 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------090205010300090004030506--