diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-08-11 22:18:27 +0000 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-08-11 22:18:27 +0000 |
commit | ff3b0e5f485aa253edb4a68eecab9cced8813a8e (patch) | |
tree | b0c3367c6d8a2311f293f0faa09d5932096514d9 | |
parent | 42996316f55b1ba88facded4b9d46278720b8e11 (diff) | |
download | xen-ff3b0e5f485aa253edb4a68eecab9cced8813a8e.tar.gz xen-ff3b0e5f485aa253edb4a68eecab9cced8813a8e.tar.bz2 xen-ff3b0e5f485aa253edb4a68eecab9cced8813a8e.zip |
This patch fixes "xm reboot" command.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
-rw-r--r-- | tools/python/xen/xm/main.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index cbdbb1c0e8..d1a7fd4f57 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -289,13 +289,12 @@ def xm_destroy(args): 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) |