diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2020-10-16 13:38:33 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-10-21 11:36:05 +0200 |
| commit | a6518755a63e38499ab1066376bcfbd18541c602 (patch) | |
| tree | 4dbc2118e5533a80a55f43f4a3177dc6a544f1a0 /hw/i386/acpi-microvm.c | |
| parent | 64b070dad39dcae2fe06f498c0536df9a54e4beb (diff) | |
| download | focaccia-qemu-a6518755a63e38499ab1066376bcfbd18541c602.tar.gz focaccia-qemu-a6518755a63e38499ab1066376bcfbd18541c602.zip | |
apci: drop has_pci arg for acpi_build_madt
Setting x86ms->pci_irq_mask to zero has the same effect, so we don't need the has_pci argument any more. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20201016113835.17465-6-kraxel@redhat.com
Diffstat (limited to 'hw/i386/acpi-microvm.c')
| -rw-r--r-- | hw/i386/acpi-microvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/acpi-microvm.c b/hw/i386/acpi-microvm.c index 8e2d2b7cff..5efa89c327 100644 --- a/hw/i386/acpi-microvm.c +++ b/hw/i386/acpi-microvm.c @@ -196,7 +196,7 @@ static void acpi_build_microvm(AcpiBuildTables *tables, acpi_add_table(table_offsets, tables_blob); acpi_build_madt(tables_blob, tables->linker, X86_MACHINE(machine), - ACPI_DEVICE_IF(x86ms->acpi_dev), x86ms->pci_irq_mask != 0); + ACPI_DEVICE_IF(x86ms->acpi_dev)); xsdt = tables_blob->len; build_xsdt(tables_blob, tables->linker, table_offsets, NULL, NULL); |