[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 Ryan Harper <ryanh@xxxxxxxxxx>
# Node ID 4b168245977a072e59665d29fa9e1d0af37aabb5
# Parent  176302fe4dfb47bf5f4c74c26ea00e1a90726770
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 176302fe4dfb -r 4b168245977a tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py     Fri Apr 14 14:05:28 2006
+++ b/tools/python/xen/xm/create.py     Fri Apr 14 20:15:38 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®.