From: Ryan Harper Date: Fri, 14 Apr 2006 20:15:38 +0000 (+0100) Subject: Allow cpus parameter to xm create to accept a range string by removing the X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16158^2~2^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=73b491c2a0fdba23ebd8329a650b2a11ec33fb1f;p=xen.git 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 --- diff --git a/tools/python/xen/xm/create.py b/tools/python/xen/xm/create.py index 8c3be846bd..2716e7fc44 100644 --- a/tools/python/xen/xm/create.py +++ b/tools/python/xen/xm/create.py @@ -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',