From nobody Sat Apr 20 03:53:47 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) smtp.mailfrom=seabios-bounces@seabios.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from coreboot.org (coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 16505488255611017.157365819272; Thu, 21 Apr 2022 06:47:05 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id 9D74B16E3D06; Thu, 21 Apr 2022 13:47:00 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTP id 4C33A16E36D0 for ; Thu, 21 Apr 2022 13:46:45 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-7-ncmRyxJDMhC4tRrp5aYMqw-1; Thu, 21 Apr 2022 09:46:43 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E59C3801E67 for ; Thu, 21 Apr 2022 13:46:42 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B3D1B54C757; Thu, 21 Apr 2022 13:46:42 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) id F0497180039B; Thu, 21 Apr 2022 15:46:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1650548804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4iGPWRlLRutvv9hnEHz/Xjk3854XHY1aotyy0+ZZn+s=; b=gkn50RgabYSJHathXWLlijL6zbhY+Qt2WX1NmeiEt3f42XN2LvVrdejh9SN70sts4NOmWj RQsB4XI3um4/36o1RCr/by4HqWHipvmeF6YbKhaeA7OtMxOCrvySm7e2fe82sqwwDNVDKH mGKR5f/tPi0OFU242Q9dg8FW/D0AjE0= X-MC-Unique: ncmRyxJDMhC4tRrp5aYMqw-1 From: Gerd Hoffmann To: seabios@seabios.org Date: Thu, 21 Apr 2022 15:46:40 +0200 Message-Id: <20220421134640.1700498-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: BNL5CQAVW5E2VOC7UA7SF5NVCXNGT3XB X-Message-ID-Hash: BNL5CQAVW5E2VOC7UA7SF5NVCXNGT3XB X-MailFrom: kraxel@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-seabios.seabios.org-0; header-match-seabios.seabios.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Gerd Hoffmann X-Mailman-Version: 3.3.5rc1 Precedence: list Subject: [SeaBIOS] [PATCH] qemu: disable builtin acpi and smbios tables by default. List-Id: SeaBIOS mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable Authentication-Results: coreboot.org; auth=pass smtp.auth=mailman@coreboot.org smtp.mailfrom=seabios-bounces@seabios.org X-Spamd-Bar: -- X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1650548827555100001 Content-Type: text/plain; charset="utf-8"; x-default="true" qemu provides acpi and smbios tables via fw_cfg for many years now. The builtin tables shipped by seabios are only used as fallback for old qemu versions. qemu is about to drop backward compatibility for old versions, machine types for versions 1.4 to 1.7 are deprecated, which turns the fallbacks into dead code. This patch flips the default for the config options controlling the fallback smbios and acpi tables from 'Yes' to 'No'. Eventually the code will be removed altogether at some point in the future. Signed-off-by: Gerd Hoffmann Reviewed-by: Igor Mammedov --- src/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Kconfig b/src/Kconfig index 3a8ffa15fded..83ddf45143c3 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -494,25 +494,25 @@ menu "BIOS Tables" Support generation of MPTable. config SMBIOS bool "SMBIOS" - default y + default n help Support generation of SM BIOS tables. This is also sometimes called DMI. config ACPI bool "ACPI" - default y + default n help Support generation of ACPI tables. config ACPI_DSDT bool "Include default ACPI DSDT" - default y + default n depends on ACPI help Include default DSDT ACPI table in BIOS. Required for QEMU 1.3 and older. This option can be disabled for QEMU 1.4 and newer to save some space in the ROM file. - If unsure, say Y. + If unsure, say N. config FW_ROMFILE_LOAD bool "Load BIOS tables from ROM files" depends on QEMU_HARDWARE --=20 2.35.1 _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org