]> xenbits.xensource.com Git - xen.git/commitdiff
Allow cpus parameter to xm create to accept a range string by removing the
authorRyan Harper <ryanh@us.ibm.com>
Fri, 14 Apr 2006 20:15:38 +0000 (21:15 +0100)
committerRyan Harper <ryanh@us.ibm.com>
Fri, 14 Apr 2006 20:15:38 +0000 (21:15 +0100)
restriction of cpus accepting only integers.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
tools/python/xen/xm/create.py

index 8c3be846bd723ca1293a0088da4fff2cd863d7cc..2716e7fc443ce4c2b646e091a76eed66071f24e3 100644 (file)
@@ -158,7 +158,7 @@ gopts.var('cpu', val='CPU',
           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',