qemu-devel
[Top][All Lists]
Advanced

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

[PATCH v2 03/10] hw/i386: Select VGA_PCI in Kconfig


From: Fabiano Rosas
Subject: [PATCH v2 03/10] hw/i386: Select VGA_PCI in Kconfig
Date: Wed, 8 Feb 2023 16:26:47 -0300

Machines that have "std" as default VGA display need to always build
vga-pci.c, otherwise we get a crash when CONFIG_PCI_DEVICES=n:

$ ./qemu-system-x86_64 -M q35
qemu-system-x86_64: unknown type 'VGA'
Aborted (core dumped)

Signed-off-by: Fabiano Rosas <farosas@suse.de>
---
 hw/i386/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
index 51379c3999..36590e2691 100644
--- a/hw/i386/Kconfig
+++ b/hw/i386/Kconfig
@@ -29,9 +29,9 @@ config PC
     imply TEST_DEVICES
     imply TPM_CRB
     imply TPM_TIS_ISA
-    imply VGA_PCI
     imply VIRTIO_VGA
     imply NVDIMM
+    select VGA_PCI
     select FDC_ISA
     select I8259
     select I8254
-- 
2.35.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]