[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Put back the arg_check calls removed recently -- they aren't as useless as I
# HG changeset patch # User emellor@xxxxxxxxxxxxxxxxxxxxxx # Node ID 1d88f303c39c6a476ea83c8810b790713615bfb7 # Parent aa5c62270da72a79f43002886a5aaf705c6b8d38 Put back the arg_check calls removed recently -- they aren't as useless as I thought they were. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> diff -r aa5c62270da7 -r 1d88f303c39c tools/python/xen/xm/main.py --- a/tools/python/xen/xm/main.py Mon Oct 17 15:33:27 2005 +++ b/tools/python/xen/xm/main.py Mon Oct 17 19:34:10 2005 @@ -370,6 +370,8 @@ return cpumap def xm_vcpu_pin(args): + arg_check(args, 3, "vcpu-pin") + dom = args[0] vcpu = int(args[1]) cpumap = cpu_make_map(args[2]) @@ -378,6 +380,8 @@ server.xend_domain_pincpu(dom, vcpu, cpumap) def xm_mem_max(args): + arg_check(args, 2, "mem-max") + dom = args[0] mem = int_unit(args[1], 'm') @@ -385,6 +389,8 @@ server.xend_domain_maxmem_set(dom, mem) def xm_mem_set(args): + arg_check(args, 2, "mem-set") + dom = args[0] mem_target = int_unit(args[1], 'm') _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |