diff options
author | Gerd Hoffmann | 2020-09-15 14:09:02 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2020-09-17 14:16:19 +0200 |
commit | 50aef1318166c2a5551d43fb99c5a517f54fcf3c (patch) | |
tree | 6973a710f7858d63cc3bf2ce4d6863191a16dbf9 /hw/i386/acpi-build.c | |
parent | x86: constify x86_machine_is_*_enabled (diff) | |
download | qemu-50aef1318166c2a5551d43fb99c5a517f54fcf3c.tar.gz qemu-50aef1318166c2a5551d43fb99c5a517f54fcf3c.tar.xz qemu-50aef1318166c2a5551d43fb99c5a517f54fcf3c.zip |
x86: move acpi_dev from pc/microvm
Both pc and microvm machine types have a acpi_dev field.
Move it to the common base type.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20200915120909.20838-15-kraxel@redhat.com
Diffstat (limited to 'hw/i386/acpi-build.c')
-rw-r--r-- | hw/i386/acpi-build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 7a5a8b3521..0e0535d2e3 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -2431,7 +2431,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), true); + ACPI_DEVICE_IF(x86ms->acpi_dev), true); vmgenid_dev = find_vmgenid_dev(); if (vmgenid_dev) { |