All of lore.kernel.org
 help / color / mirror / Atom feed
From: aq <aquynh@gmail.com>
To: "List: Xen Developers" <xen-devel@lists.xensource.com>
Subject: [PATCH] xm reboot
Date: Fri, 12 Aug 2005 02:00:05 +0900	[thread overview]
Message-ID: <9cde8bff050811100011bc9539@mail.gmail.com> (raw)

[-- 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

                 reply	other threads:[~2005-08-11 17:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9cde8bff050811100011bc9539@mail.gmail.com \
    --to=aquynh@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.