@samitouri / QOSamiQemu / commits / 4fd30af5b5

hw/i386/pc: Remove pc_compat_2_9[] array

The pc_compat_2_9[] array was only used by the pc-q35-2.9 and pc-i440fx-2.9 machines, which got removed. Remove it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20250501210456.89071-15-philmd@linaro.org> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20260225092024.794595-12-thuth@redhat.com>

Philippe Mathieu-Daudé committed Feb 25, 2026 at 10:20 UTC 4fd30af5b5e469c96c25a357bc238a2d7f86f06e
2 files changed -8
hw/i386/pc.c
-5
@@ -242,11 +242,6 @@ GlobalProperty pc_compat_2_10[] = {
242 };
243 const size_t pc_compat_2_10_len = G_N_ELEMENTS(pc_compat_2_10);
244
245 -GlobalProperty pc_compat_2_9[] = {
246 - { "mch", "extended-tseg-mbytes", "0" },
247 -};
248 -const size_t pc_compat_2_9_len = G_N_ELEMENTS(pc_compat_2_9);
249 -
245 /*
246 * @PC_FW_DATA:
247 * Size of the chunk of memory at the top of RAM for the BIOS ACPI tables
include/hw/i386/pc.h
-3
@@ -289,9 +289,6 @@ extern const size_t pc_compat_2_11_len;
289 extern GlobalProperty pc_compat_2_10[];
290 extern const size_t pc_compat_2_10_len;
291
292 -extern GlobalProperty pc_compat_2_9[];
293 -extern const size_t pc_compat_2_9_len;
294 -
292 #define DEFINE_PC_MACHINE(suffix, namestr, initfn, optsfn) \
293 static void pc_machine_##suffix##_class_init(ObjectClass *oc, \
294 const void *data) \