WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xm: Fix maxvcpus support
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Nov 2009 03:30:20 -0800
Delivery-date: Thu, 26 Nov 2009 03:34:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xm: Fix maxvcpus support, Xen patchbot-unstable <=