summaryrefslogtreecommitdiffstats
path: root/hw/i386/acpi-build.c
diff options
context:
space:
mode:
authorGerd Hoffmann2020-05-20 15:19:48 +0200
committerMichael S. Tsirkin2020-06-12 16:17:06 +0200
commit5794d34a13d11e12d9bc53ea4ade997c2ff81c4c (patch)
tree59bd5c256f4ab7da9ec933226e390972da31265a /hw/i386/acpi-build.c
parentacpi: create acpi-common.c and move madt code (diff)
downloadqemu-5794d34a13d11e12d9bc53ea4ade997c2ff81c4c.tar.gz
qemu-5794d34a13d11e12d9bc53ea4ade997c2ff81c4c.tar.xz
qemu-5794d34a13d11e12d9bc53ea4ade997c2ff81c4c.zip
acpi: madt: skip pci override on pci-less systems.
Needed for microvm. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200520132003.9492-8-kraxel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/acpi-build.c')
-rw-r--r--hw/i386/acpi-build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index 26c0c8aefa..473cbdfffd 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -2588,7 +2588,7 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)
acpi_add_table(table_offsets, tables_blob);
acpi_build_madt(tables_blob, tables->linker, x86ms,
- ACPI_DEVICE_IF(pcms->acpi_dev));
+ ACPI_DEVICE_IF(pcms->acpi_dev), true);
vmgenid_dev = find_vmgenid_dev();
if (vmgenid_dev) {