@samitouri / QOSamiQemu / commits / 6eebc1220c

hw/i386/pc: Remove pc_compat_2_8[] array

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

Philippe Mathieu-Daudé committed Feb 25, 2026 at 10:20 UTC 6eebc1220c616270c2c8527c822ab85e95da7cfa
2 files changed -12
hw/i386/pc.c
-9
@@ -247,15 +247,6 @@ GlobalProperty pc_compat_2_9[] = {
247 };
248 const size_t pc_compat_2_9_len = G_N_ELEMENTS(pc_compat_2_9);
249
250 -GlobalProperty pc_compat_2_8[] = {
251 - { TYPE_X86_CPU, "tcg-cpuid", "off" },
252 - { "kvmclock", "x-mach-use-reliable-get-clock", "off" },
253 - { "ICH9-LPC", "x-smi-broadcast", "off" },
254 - { TYPE_X86_CPU, "vmware-cpuid-freq", "off" },
255 - { "Haswell-" TYPE_X86_CPU, "stepping", "1" },
256 -};
257 -const size_t pc_compat_2_8_len = G_N_ELEMENTS(pc_compat_2_8);
258 -
250 /*
251 * @PC_FW_DATA:
252 * Size of the chunk of memory at the top of RAM for the BIOS ACPI tables
include/hw/i386/pc.h
-3
@@ -292,9 +292,6 @@ extern const size_t pc_compat_2_10_len;
292 extern GlobalProperty pc_compat_2_9[];
293 extern const size_t pc_compat_2_9_len;
294
295 -extern GlobalProperty pc_compat_2_8[];
296 -extern const size_t pc_compat_2_8_len;
297 -
295 #define DEFINE_PC_MACHINE(suffix, namestr, initfn, optsfn) \
296 static void pc_machine_##suffix##_class_init(ObjectClass *oc, \
297 const void *data) \