]> xenbits.xensource.com Git - people/pauldu/qemu.git/commitdiff
hw/i386: Move CONFIG_ACPI_PCI to CONFIG_PC
authorCole Robinson <crobinso@redhat.com>
Mon, 9 Sep 2019 17:34:10 +0000 (13:34 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Sep 2019 10:32:21 +0000 (12:32 +0200)
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

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Message-Id: <e73e6edff68fd30d69c6a1d02c9ef9192f773c63.1568049871.git.crobinso@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
default-configs/i386-softmmu.mak
hw/i386/Kconfig

index cd5ea391e80cf86b4d08d7ea9c5ba61260a98841..ba3fb3ff50a7494c4b0814ffd758dc1b536a4e41 100644 (file)
@@ -25,4 +25,3 @@
 CONFIG_ISAPC=y
 CONFIG_I440FX=y
 CONFIG_Q35=y
-CONFIG_ACPI_PCI=y
index 6350438036f6737563dd6b805db177d46f93c771..c7a9d6315ca99258e431ce5d5241e554f9da6914 100644 (file)
@@ -29,6 +29,7 @@ config PC
     select MC146818RTC
     # For ACPI builder:
     select SERIAL_ISA
+    select ACPI_PCI
     select ACPI_VMGENID
     select VIRTIO_PMEM_SUPPORTED