[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Fix xm vcpu-pin command for keyword 'all'.
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1181644167 -3600 # Node ID e1c54c14220a4d4ab38d8a3d409ab678275a5426 # Parent feeca16435bfc3510e4329267758a5cfbd2a7c58 Fix xm vcpu-pin command for keyword 'all'. The keyword 'all' was supported as the 2nd argument of xm vcpu-pin command since changeset 11619. However, we cannot use the keyword 'all' since changeset 14481. Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx> --- tools/python/xen/xm/main.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r feeca16435bf -r e1c54c14220a tools/python/xen/xm/main.py --- a/tools/python/xen/xm/main.py Tue Jun 12 11:26:51 2007 +0100 +++ b/tools/python/xen/xm/main.py Tue Jun 12 11:29:27 2007 +0100 @@ -140,7 +140,7 @@ SUBCOMMAND_HELP = { 'Send a trigger to a domain.'), 'vcpu-list' : ('[<Domain>]', 'List the VCPUs for a domain or all domains.'), - 'vcpu-pin' : ('<Domain> <VCPU> <CPUs|all>', + 'vcpu-pin' : ('<Domain> <VCPU|all> <CPUs|all>', 'Set which CPUs a VCPU can use.'), 'vcpu-set' : ('<Domain> <vCPUs>', 'Set the number of active VCPUs for allowed for the' @@ -1330,7 +1330,7 @@ def xm_vcpu_pin(args): return cpus dom = args[0] - vcpu = int(args[1]) + vcpu = args[1] if args[2] == 'all': cpumap = cpu_make_map('0-63') else: _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |