qemu-devel
[Top][All Lists]
Advanced

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

[PATCH v2 01/10] hw/i386: Select CONFIG_PARALLEL for PC machines


From: Fabiano Rosas
Subject: [PATCH v2 01/10] hw/i386: Select CONFIG_PARALLEL for PC machines
Date: Wed, 8 Feb 2023 16:26:45 -0300

Currently the isa-parallel driver is always added by the PC machines
regardless of the presence of the actual code in the build, which can
lead to a crash:

qemu-system-i386: unknown type 'isa-parallel'
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 1bf47b0b0b..d3c340e053 100644
--- a/hw/i386/Kconfig
+++ b/hw/i386/Kconfig
@@ -20,7 +20,6 @@ config PC
     imply PCI_IPMI_BT
     imply IPMI_SSIF
     imply ISA_DEBUG
-    imply PARALLEL
     imply PCI_DEVICES
     imply PVPANIC_ISA
     imply QXL
@@ -46,6 +45,7 @@ config PC
     select ACPI_VMGENID
     select VIRTIO_PMEM_SUPPORTED
     select VIRTIO_MEM_SUPPORTED
+    select PARALLEL
 
 config PC_PCI
     bool
-- 
2.35.3




reply via email to

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