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

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


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 13 Sep 2021 18:02:57 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=6lVGNSeDPKamwhrf6Flt+scb/eycOt6W9k3kD4zIHAo=; b=C7igSjMt4Lu9g43c9I5jC5SjLLD9ZYs5zCn/AisJD9FL7DiElSWTUCAQWhjjSqZuhC67QbQw6DnryTjLuz+khHfHWXvTHsXaAz7bekddUqgEkqmsq5oh32V/BQUt4mys41cYtgbMbkC/uOCF1mEFsHsKsAHzNZ7wYuxzX57ory04v0OTRqDx7I337HwXahBW01Qpdsy2+8jmAIMVxy3ieZFxFL7p0clsOIvqgqCqU8FHEEc5SblaIur78BwyHtVV49k8+IF3HoX3bzzs3D1W4Xv4zx/kIr1TBzaCHd9YsQgGpi85/odjEbfoH9Ay+y4evvClS3HvQDzpyhIWSNQwqQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HgbAo8RKb+C8vIRoXni4CjMCHnRpalhbcb2gQD0IWwBfhLK680+PdMwi3pWx9Tn3wukla5uIy8LilAIZ0IZEhQFCK2DidFSKqIPtb/Ux7DvX9XVLXAH5tqikNj6U1BBvgY7wtxZNyRJCiD8IDkZ1CtWyi48b5VFuVS5omnzDSbIfFMNitLffbtTjK/lBczISiWKf8J3yhQtBLQr6PafXrnOR0qs7wyy2WNnKrUhlsSAzwGEO0vpEyZunkdCjuAA3rjUy6/PofwrL+s1C1mzzU7s5oSRH7/G7DahX+76Eajn/n0MOkX/g3hI+YpXNMDqY7/90HZ30SHmGpmZV2DkAtQ==
  • Authentication-results: citrix.com; dkim=none (message not signed) header.d=none;citrix.com; dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Mon, 13 Sep 2021 16:03:18 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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>

--- a/xen/arch/x86/setup.c
+++ b/xen/arch/x86/setup.c
@@ -692,7 +692,7 @@ static void __init noreturn reinit_bsp_s
  * 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");
 




 


Rackspace

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