xm reboot
PATCH 1/1 xm reboot
This patch fixes "xm reboot" command.
Signed-off-by Nguyen Anh Quynh <[email protected]>
# diffstat xm_reboot.patch main.py | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-)
tools/python/xen/xm/main.py +1 -2
@@ -289,13 +289,12 @@ args.insert(0,"bogus") destroy.main(args) -# TODO: make reboot do the right thing, right now -# reboot and shutdown are exactly the same def xm_reboot(args): arg_check(args,1,"reboot") # ugly hack because the opt parser apparently wants # the subcommand name just to throw it away! args.insert(0,"bogus") + args.insert(2,"-R") from xen.xm import shutdown shutdown.main(args)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel