]> xenbits.xensource.com Git - xen.git/commitdiff
x86/boot: properly "ignore" early evaluated "no-real-mode"
authorJan Beulich <jbeulich@suse.com>
Wed, 15 Sep 2021 09:01:29 +0000 (11:01 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 15 Sep 2021 09:01:29 +0000 (11:01 +0200)
The option parser takes off "no-" prefixes before matching, so they also
shouldn't be specified to match against.

Fixes: e44d98608476 ("x86/setup: Ignore early boot parameters like no-real-mode")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/setup.c

index 8105dc36bb845c19900baf1182a431068f29ee7b..b101565f14312aa5ed93777a02cd686d173c9563 100644 (file)
@@ -692,7 +692,7 @@ static void __init noreturn reinit_bsp_stack(void)
  * has options that are only used during the very initial boot process,
  * so they can be ignored now.
  */
-ignore_param("no-real-mode");
+ignore_param("real-mode");
 ignore_param("edd");
 ignore_param("edid");