hw/i386/pc: Replace PCMachineClass::acpi_data_size by PC_ACPI_DATA_SIZE
commite6115657a4437ae13985352ab3e77d78f8cf1ce4
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 28 Feb 2024 08:39:50 +0000 (28 09:39 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 19 Jun 2024 10:40:49 +0000 (19 12:40 +0200)
tree5dd1d41c93a557923610fd48814bf06d96a1188b
parent82912391139f9f5eb6164ffb18f37fda441c8fb4
hw/i386/pc: Replace PCMachineClass::acpi_data_size by PC_ACPI_DATA_SIZE

PCMachineClass::acpi_data_size was only used by the pc-i440fx-2.0
machine, which got removed. Since it is constant, replace the class
field by a definition (local to hw/i386/pc.c, since not used
elsewhere).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20240617071118.60464-24-philmd@linaro.org>
hw/i386/pc.c
include/hw/i386/pc.h