summary refs log tree commit diff stats
path: root/include/hw/i386/pc.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-02-28 09:30:01 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-06-19 12:40:48 +0200
commitea7a74ab2e38e7f2ac19d79974d43471cfc8cdea (patch)
treeb9429bff035f12f1370caea066213ef622f4249b /include/hw/i386/pc.h
parentb9599519a011d83896b906e43458a5e76dad6237 (diff)
downloadfocaccia-qemu-ea7a74ab2e38e7f2ac19d79974d43471cfc8cdea.tar.gz
focaccia-qemu-ea7a74ab2e38e7f2ac19d79974d43471cfc8cdea.zip
hw/i386/acpi: Remove PCMachineClass::legacy_acpi_table_size
PCMachineClass::legacy_acpi_table_size was only used by the
pc-i440fx-2.0 machine, which got removed. Remove it and simplify
acpi_build().

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240617071118.60464-6-philmd@linaro.org>
Diffstat (limited to 'include/hw/i386/pc.h')
-rw-r--r--include/hw/i386/pc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index 3e606949fb..434e531160 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -103,7 +103,6 @@ struct PCMachineClass {
     /* ACPI compat: */
     bool has_acpi_build;
     bool rsdp_in_ram;
-    int legacy_acpi_table_size;
     unsigned acpi_data_size;
     int pci_root_uid;