diff options
author | Eric DeVolder <eric.devolder@oracle.com> | 2023-05-17 12:25:44 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-05-19 01:36:09 -0400 |
commit | 6da94e277cd6eaf627dcd2d50ca795c7a272b8aa (patch) | |
tree | 514b7effec5fff57f131206262aba98f59637d88 /hw/i386/acpi-common.c | |
parent | 354b09d228e1d04272e126a1edfcc70701af2958 (diff) | |
download | qemu-6da94e277cd6eaf627dcd2d50ca795c7a272b8aa.zip qemu-6da94e277cd6eaf627dcd2d50ca795c7a272b8aa.tar.gz qemu-6da94e277cd6eaf627dcd2d50ca795c7a272b8aa.tar.bz2 |
ACPI: i386: bump to MADT to revision 3
Currently i386 QEMU generates MADT revision 3, and reports
MADT revision 1. Set .revision to 3 to match reality.
Link: https://lore.kernel.org/linux-acpi/20230327191026.3454-1-eric.devolder@ora
cle.com/T/#t
Signed-off-by: Eric DeVolder <eric.devolder@oracle.com>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Message-Id: <20230517162545.2191-3-eric.devolder@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'hw/i386/acpi-common.c')
-rw-r--r-- | hw/i386/acpi-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/acpi-common.c b/hw/i386/acpi-common.c index 52e5c14..8a0932f 100644 --- a/hw/i386/acpi-common.c +++ b/hw/i386/acpi-common.c @@ -102,7 +102,7 @@ void acpi_build_madt(GArray *table_data, BIOSLinker *linker, MachineClass *mc = MACHINE_GET_CLASS(x86ms); const CPUArchIdList *apic_ids = mc->possible_cpu_arch_ids(MACHINE(x86ms)); AcpiDeviceIfClass *adevc = ACPI_DEVICE_IF_GET_CLASS(adev); - AcpiTable table = { .sig = "APIC", .rev = 1, .oem_id = oem_id, + AcpiTable table = { .sig = "APIC", .rev = 3, .oem_id = oem_id, .oem_table_id = oem_table_id }; acpi_table_begin(&table, table_data); |