aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBernhard Beschow <shentey@gmail.com>2022-12-16 14:03:52 +0100
committerMichael S. Tsirkin <mst@redhat.com>2023-01-08 01:54:21 -0500
commitedc9cab48320e449890a062f156d561eb8df5c73 (patch)
treebc32457ebc3963499f9582799155f0c023e24646 /hw
parentd9237edbb59b49d296ef4a63bd83792a602ace4b (diff)
downloadqemu-edc9cab48320e449890a062f156d561eb8df5c73.zip
qemu-edc9cab48320e449890a062f156d561eb8df5c73.tar.gz
qemu-edc9cab48320e449890a062f156d561eb8df5c73.tar.bz2
hw/acpi/Kconfig: Add missing dependencies to ACPI_PIIX4
piix4_pm_realize() uses apm_init() and pm_smbus_init(), so both APM and ACPI_SMBUS are provided by the device model managed by ACPI_PIIX4. The ACPIREGS are also provided by ACPI_PIIX4, so needs to select ACPI. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Message-Id: <20221216130355.41667-5-shentey@gmail.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r--hw/acpi/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/acpi/Kconfig b/hw/acpi/Kconfig
index b7006e1..1f7803f 100644
--- a/hw/acpi/Kconfig
+++ b/hw/acpi/Kconfig
@@ -31,7 +31,9 @@ config ACPI_NVDIMM
config ACPI_PIIX4
bool
- depends on ACPI
+ select ACPI
+ select ACPI_SMBUS
+ select APM
config ACPI_PCIHP
bool