hw/i386/pc: Remove pc_compat_2_12[] array
The pc_compat_2_12[] array was only used by the pc-q35-2.12 and pc-i440fx-2.12 machines, which got removed. Remove it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20250501223522.99772-9-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
4395ee372ec35627755acbcaecfaf913a75943eb
2 files changed
-11
hw/i386/pc.c
-8
@@ -221,14 +221,6 @@ GlobalProperty pc_compat_3_0[] = {
221
};
222
const size_t pc_compat_3_0_len = G_N_ELEMENTS(pc_compat_3_0);
223
224
-GlobalProperty pc_compat_2_12[] = {
225
- { TYPE_X86_CPU, "legacy-cache", "on" },
226
- { TYPE_X86_CPU, "topoext", "off" },
227
- { "EPYC-" TYPE_X86_CPU, "xlevel", "0x8000000a" },
228
- { "EPYC-IBPB-" TYPE_X86_CPU, "xlevel", "0x8000000a" },
229
-};
230
-const size_t pc_compat_2_12_len = G_N_ELEMENTS(pc_compat_2_12);
231
-
224
/*
225
* @PC_FW_DATA:
226
* Size of the chunk of memory at the top of RAM for the BIOS ACPI tables
include/hw/i386/pc.h
-3
@@ -280,9 +280,6 @@ extern const size_t pc_compat_3_1_len;
280
extern GlobalProperty pc_compat_3_0[];
281
extern const size_t pc_compat_3_0_len;
282
283
-extern GlobalProperty pc_compat_2_12[];
284
-extern const size_t pc_compat_2_12_len;
285
-
283
#define DEFINE_PC_MACHINE(suffix, namestr, initfn, optsfn) \
284
static void pc_machine_##suffix##_class_init(ObjectClass *oc, \
285
const void *data) \