From: "Jan Beulich" Subject: Re: [PATCH 1/2] x86: Don't apply reboot quirks if reboot set by user Date: Wed, 11 Mar 2015 14:05:19 +0000 Message-ID: <550059AF020000780006890A@mail.emea.novell.com> References: <1426074292-32624-1-git-send-email-ross.lagerwall@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1426074292-32624-1-git-send-email-ross.lagerwall@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ross Lagerwall Cc: Andrew Cooper , Keir Fraser , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 11.03.15 at 12:44, wrote: > --- a/xen/arch/x86/shutdown.c > +++ b/xen/arch/x86/shutdown.c > @@ -35,6 +35,7 @@ enum reboot_type { > }; > > static int reboot_mode; > +static bool_t reboot_default = 1; __initdata > @@ -51,6 +52,8 @@ static void __init set_reboot_type(char *str) > { > for ( ; ; ) > { > + reboot_default = 0; 'n', 'w', and 'c' shouldn't have this effect. Jan