[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: restore handling of "reboot=no"
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |