From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH] x86/NMI: allow passing just "watchdog" again Date: Wed, 3 Sep 2014 13:32:02 +0100 Message-ID: <54070A42.4070001@citrix.com> References: <1409156728-4995-1-git-send-email-ross.lagerwall@citrix.com> <53FF379C.8070701@citrix.com> <54047450.2080004@citrix.com> <5404A3FC020000780002F835@mail.emea.novell.com> <54072487020000780003042F@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XP9jL-00013V-1A for xen-devel@lists.xenproject.org; Wed, 03 Sep 2014 12:32:07 +0000 In-Reply-To: <54072487020000780003042F@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , xen-devel Cc: Ross Lagerwall , Keir Fraser List-Id: xen-devel@lists.xenproject.org On 03/09/14 13:24, Jan Beulich wrote: > This capability got inadvertently lost in commit 3ea2ba980a ("x86/NMI: > allow processing unknown NMIs when watchdog is enabled") due to an > oversight of mine. > > Reported-by: Ross Lagerwall > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper > > --- a/xen/arch/x86/nmi.c > +++ b/xen/arch/x86/nmi.c > @@ -49,6 +49,12 @@ bool_t watchdog_force = 0; > > static void __init parse_watchdog(char *s) > { > + if ( !*s ) > + { > + opt_watchdog = 1; > + return; > + } > + > switch ( parse_bool(s) ) > { > case 0: > > >