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] [xen-unstable] x86: restore handling of "reboot=no"

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: restore handling of "reboot=no"
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 09 Oct 2010 14:55:12 -0700
Delivery-date: Sat, 09 Oct 2010 14:55:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1284533307 -3600
# Node ID 869a0fdf8686c3dada14122df6d22a38705c2401
# Parent  d4976434b8bba469fd1d337dc16249a5abfc4e5a
x86: restore handling of "reboot=no"

Somewhere between 3.2 and 3.3 this got dropped (as I noticed on a
[rarely used] box that didn't crash on me since then).

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 xen/arch/x86/shutdown.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

diff -r d4976434b8bb -r 869a0fdf8686 xen/arch/x86/shutdown.c
--- a/xen/arch/x86/shutdown.c   Wed Sep 15 07:47:54 2010 +0100
+++ b/xen/arch/x86/shutdown.c   Wed Sep 15 07:48:27 2010 +0100
@@ -36,7 +36,7 @@ static int reboot_mode;
 static int reboot_mode;
 
 /*
- * reboot=b[ios] | t[riple] | k[bd] | [, [w]arm | [c]old]
+ * reboot=b[ios] | t[riple] | k[bd] | n[o] [, [w]arm | [c]old]
  * warm   Don't set the cold reboot flag
  * cold   Set the cold reboot flag
  * bios   Reboot by jumping through the BIOS (only for X86_32)
@@ -51,6 +51,9 @@ static void __init set_reboot_type(char 
     {
         switch ( *str )
         {
+        case 'n': /* no reboot */
+            opt_noreboot = 1;
+            break;
         case 'w': /* "warm" reboot (no memory testing etc) */
             reboot_mode = 0x1234;
             break;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86: restore handling of "reboot=no", Xen patchbot-unstable <=