hw/i386: Move CONFIG_ACPI_PCI to CONFIG_PC
PATCH 1/1 hw/i386: Move CONFIG_ACPI_PCI to CONFIG_PC
CONFIG_ACPI_PCI is a hard requirement of acpi-build.c, which is built unconditionally for x86 target. Putting it in default-configs/ suggests that it can be easily disabled, which isn't true.
Relocate the symbol with the other acpi-build.c requirements, under 'config PC'. This is similar to what is done for the arm 'virt' machine type and CONFIG_ACPI_PCI
--- default-configs/i386-softmmu.mak | 1 - hw/i386/Kconfig | 1 + 2 files changed, 1 insertion(+), 1 deletion(-)
default-configs/i386-softmmu.mak +0 -1
@@ -25,4 +25,3 @@ CONFIG_ISAPC=y CONFIG_I440FX=y CONFIG_Q35=y -CONFIG_ACPI_PCI=y
hw/i386/Kconfig +1 -0
@@ -29,6 +29,7 @@ config PC select MC146818RTC # For ACPI builder: select SERIAL_ISA + select ACPI_PCI select ACPI_VMGENID select VIRTIO_PMEM_SUPPORTED
Signature · 1 line
2.21.0
Paolo Bonzini
AppliedQuoted 29 lines · Cole Robinson
CONFIG_ACPI_PCIis a hard requirement ofacpi-build.c, which is built unconditionally for x86 target. Putting it in default-configs/ suggests that it can be easily disabled, which isn't true.Relocate the symbol with the other
acpi-build.crequirements, under 'config PC'. This is similar to what is done for the arm 'virt' machine type andCONFIG_ACPI_PCISigned-off-by Cole Robinson <[email protected]>--- default-configs/i386-softmmu.mak | 1 - hw/i386/Kconfig | 1 + 2 files changed, 1 insertion(+), 1 deletion(-)default-configs/i386-softmmu.mak +0
-1@@ -25,4 +25,3 @@ CONFIG_ISAPC=y CONFIG_I440FX=y CONFIG_Q35=y -CONFIG_ACPI_PCI=yhw/i386/Kconfig +0
-0
hw/i386/Kconfig config PC · line 35
Quoted 7 lines
hw/i386/Kconfig +1
-0@@ -29,6 +29,7 @@ config PC select MC146818RTC # For ACPI builder: select SERIAL_ISA + select ACPI_PCI select ACPI_VMGENID select VIRTIO_PMEM_SUPPORTED
Queued, thanks.
Paolo