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

[Xen-changelog] Allow cpus parameter to xm create to accept a range string by removing the



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 765250390f84c7439d679ffadd07c9454baff778
# Parent  e6ee385e3d9a629579544aa63df69251b8416a87
Allow cpus parameter to xm create to accept a range string by removing the
restriction of cpus accepting only integers.

Signed-off-by: Ryan Harper <ryanh@xxxxxxxxxx>

diff -r e6ee385e3d9a -r 765250390f84 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py     Sat Apr 15 08:53:52 2006
+++ b/tools/python/xen/xm/create.py     Sat Apr 15 09:16:48 2006
@@ -158,7 +158,7 @@
           use="CPU to run the VCPU0 on.")
 
 gopts.var('cpus', val='CPUS',
-          fn=set_int, default=None,
+          fn=set_value, default=None,
           use="CPUS to run the domain on.")
 
 gopts.var('pae', val='PAE',

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