[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] x86/boot: properly "ignore" early evaluated "no-real-mode"



commit e5046fc6e99db83e2c21ff8d9bfa92a0b6d328ad
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Wed Sep 15 11:01:29 2021 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Wed Sep 15 11:01:29 2021 +0200

    x86/boot: properly "ignore" early evaluated "no-real-mode"
    
    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@xxxxxxxx>
    Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
 xen/arch/x86/setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
index 8105dc36bb..b101565f14 100644
--- a/xen/arch/x86/setup.c
+++ b/xen/arch/x86/setup.c
@@ -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");
 
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.