mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86/NMI: allow passing just "watchdog" again
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 <ross.lagerwall@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
1 parent
df0ae94fd5
commit
fd553ae5f0
1 file changed
+6
@@ -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:
|
||||
|
||||