ia64/xen-unstable
changeset 10594:c6ec3dd6fe7f
[XM] Fix argument check of the xm reboot command.
Maximum argument of the xm reboot command is three.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Maximum argument of the xm reboot command is three.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author | kaf24@firebug.cl.cam.ac.uk |
---|---|
date | Thu Jun 29 14:25:07 2006 +0100 (2006-06-29) |
parents | 7d3df6492d70 |
children | 40e1a7749208 |
files | tools/python/xen/xm/main.py |
line diff
1.1 --- a/tools/python/xen/xm/main.py Thu Jun 29 14:22:56 2006 +0100 1.2 +++ b/tools/python/xen/xm/main.py Thu Jun 29 14:25:07 2006 +0100 1.3 @@ -565,7 +565,7 @@ def xm_vcpu_list(args): 1.4 1.5 1.6 def xm_reboot(args): 1.7 - arg_check(args, "reboot", 1, 4) 1.8 + arg_check(args, "reboot", 1, 3) 1.9 from xen.xm import shutdown 1.10 shutdown.main(["shutdown", "-R"] + args) 1.11