WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] This patch fixes "xm reboot" command.

# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 822566f5cfddce3b641b5a1a119dfd592ec69158
# Parent  194f6230b62c3e448b7460611114772d01a1ea2d
This patch fixes "xm reboot" command.

Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx>

diff -r 194f6230b62c -r 822566f5cfdd tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Thu Aug 11 22:18:02 2005
+++ b/tools/python/xen/xm/main.py       Thu Aug 11 22:18:27 2005
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] This patch fixes "xm reboot" command., Xen patchbot -unstable <=