@samitouri / QOSamiQemu / commits / 16dade7591

hw/i386/pc: Remove pc_compat_2_10[] array

The pc_compat_2_10[] array was only used by the pc-q35-2.10 and pc-i440fx-2.10 machines, which got removed. Remove it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20250501223522.99772-3-philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com> Signed-off-by: Thomas Huth <thuth@redhat.com>

Philippe Mathieu-Daudé committed May 2, 2025 at 00:35 UTC 16dade7591c64c25bf304c09f25f8c38f0b76452
2 files changed -10
hw/i386/pc.c
-7
@@ -235,13 +235,6 @@ GlobalProperty pc_compat_2_11[] = {
235 };
236 const size_t pc_compat_2_11_len = G_N_ELEMENTS(pc_compat_2_11);
237
238 -GlobalProperty pc_compat_2_10[] = {
239 - { TYPE_X86_CPU, "x-hv-max-vps", "0x40" },
240 - { "i440FX-pcihost", "x-pci-hole64-fix", "off" },
241 - { "q35-pcihost", "x-pci-hole64-fix", "off" },
242 -};
243 -const size_t pc_compat_2_10_len = G_N_ELEMENTS(pc_compat_2_10);
244 -
238 /*
239 * @PC_FW_DATA:
240 * Size of the chunk of memory at the top of RAM for the BIOS ACPI tables
include/hw/i386/pc.h
-3
@@ -286,9 +286,6 @@ extern const size_t pc_compat_2_12_len;
286 extern GlobalProperty pc_compat_2_11[];
287 extern const size_t pc_compat_2_11_len;
288
289 -extern GlobalProperty pc_compat_2_10[];
290 -extern const size_t pc_compat_2_10_len;
291 -
289 #define DEFINE_PC_MACHINE(suffix, namestr, initfn, optsfn) \
290 static void pc_machine_##suffix##_class_init(ObjectClass *oc, \
291 const void *data) \