All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xm reboot
@ 2005-08-11 17:00 aq
  0 siblings, 0 replies; only message in thread
From: aq @ 2005-08-11 17:00 UTC (permalink / raw)
  To: List: Xen Developers

[-- Attachment #1: Type: text/plain, Size: 197 bytes --]

This patch fixes "xm reboot" command.

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>


# diffstat xm_reboot.patch 
 main.py |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

[-- Attachment #2: xm_reboot.patch --]
[-- Type: application/octet-stream, Size: 624 bytes --]

diff -r d95ea17567c6 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py	Thu Aug 11 08:59:47 2005
+++ b/tools/python/xen/xm/main.py	Fri Aug 12 01:58:17 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)
 

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-11 17:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-11 17:00 [PATCH] xm reboot aq

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.