From: "Jan Beulich" Subject: [PATCH] x86/NMI: allow passing just "watchdog" again Date: Wed, 03 Sep 2014 13:24:07 +0100 Message-ID: <54072487020000780003042F@mail.emea.novell.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> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part44711A77.1__=" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XP9bf-0000MN-1L for xen-devel@lists.xenproject.org; Wed, 03 Sep 2014 12:24:11 +0000 In-Reply-To: <5404A3FC020000780002F835@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: xen-devel Cc: Andrew Cooper , Keir Fraser , Ross Lagerwall List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part44711A77.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 --- a/xen/arch/x86/nmi.c +++ b/xen/arch/x86/nmi.c @@ -49,6 +49,12 @@ bool_t watchdog_force =3D 0; =20 static void __init parse_watchdog(char *s) { + if ( !*s ) + { + opt_watchdog =3D 1; + return; + } + switch ( parse_bool(s) ) { case 0: --=__Part44711A77.1__= Content-Type: text/plain; name="x86-NMI-watchdog-option.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="x86-NMI-watchdog-option.patch" x86/NMI: allow passing just "watchdog" again=0A=0AThis capability got = inadvertently lost in commit 3ea2ba980a ("x86/NMI:=0Aallow processing = unknown NMIs when watchdog is enabled") due to an=0Aoversight of = mine.=0A=0AReported-by: Ross Lagerwall =0ASigned= -off-by: Jan Beulich =0A=0A--- a/xen/arch/x86/nmi.c=0A++= + b/xen/arch/x86/nmi.c=0A@@ -49,6 +49,12 @@ bool_t watchdog_force =3D = 0;=0A =0A static void __init parse_watchdog(char *s)=0A {=0A+ if ( !*s = )=0A+ {=0A+ opt_watchdog =3D 1;=0A+ return;=0A+ = }=0A+=0A switch ( parse_bool(s) )=0A {=0A case 0:=0A --=__Part44711A77.1__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=__Part44711A77.1__=--