Fix argument check of xm reboot command (1)
PATCH 1/1 Fix argument check of xm reboot command (1)
Hi,
This patch fixes argument check of the xm reboot command. I think that maximum argument of the xm reboot command is three.
- reboot_help = "reboot <DomId> [-w][-a] Reboot a domain"
Signed-off-by Masaki Kanno <[email protected]>
Best regards,
Kan
tools/python/xen/xm/main.py +1 -1
@@ -556,7 +556,7 @@ def xm_vcpu_list(args): def xm_reboot(args): - arg_check(args, "reboot", 1, 4) + arg_check(args, "reboot", 1, 3) from xen.xm import shutdown shutdown.main(["shutdown", "-R"] + args)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel