ia64/xen-unstable

changeset 9726:4b168245977a

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@us.ibm.com>
author Ryan Harper <ryanh@us.ibm.com>
date Fri Apr 14 21:15:38 2006 +0100 (2006-04-14)
parents 176302fe4dfb
children 1fe63743a147
files tools/python/xen/xm/create.py
line diff
     1.1 --- a/tools/python/xen/xm/create.py	Fri Apr 14 15:05:28 2006 +0100
     1.2 +++ b/tools/python/xen/xm/create.py	Fri Apr 14 21:15:38 2006 +0100
     1.3 @@ -158,7 +158,7 @@ gopts.var('cpu', val='CPU',
     1.4            use="CPU to run the VCPU0 on.")
     1.5  
     1.6  gopts.var('cpus', val='CPUS',
     1.7 -          fn=set_int, default=None,
     1.8 +          fn=set_value, default=None,
     1.9            use="CPUS to run the domain on.")
    1.10  
    1.11  gopts.var('pae', val='PAE',