mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
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
This commit is contained in:
parent
64b070dad3
commit
a6518755a6
4 changed files with 14 additions and 18 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue