From: Philippe Mathieu-Daudé <[email protected]> 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é <[email protected]> Message-ID: <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Reviewed-by: Xiaoyao Li <[email protected]> Signed-off-by: Thomas Huth <[email protected]> --- include/hw/i386/pc.h | 3 --- hw/i386/pc.c | 8 -------- 2 files changed, 11 deletions(-) diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index a3b270ccc97..113813c07d7 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -280,9 +280,6 @@ extern const size_t pc_compat_3_1_len; extern GlobalProperty pc_compat_3_0[]; extern const size_t pc_compat_3_0_len; -extern GlobalProperty pc_compat_2_12[]; -extern const size_t pc_compat_2_12_len; - #define DEFINE_PC_MACHINE(suffix, namestr, initfn, optsfn) \ static void pc_machine_##suffix##_class_init(ObjectClass *oc, \ const void *data) \ diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 6427c62dbcd..819e729a6e3 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -221,14 +221,6 @@ GlobalProperty pc_compat_3_0[] = { }; const size_t pc_compat_3_0_len = G_N_ELEMENTS(pc_compat_3_0); -GlobalProperty pc_compat_2_12[] = { - { TYPE_X86_CPU, "legacy-cache", "on" }, - { TYPE_X86_CPU, "topoext", "off" }, - { "EPYC-" TYPE_X86_CPU, "xlevel", "0x8000000a" }, - { "EPYC-IBPB-" TYPE_X86_CPU, "xlevel", "0x8000000a" }, -}; -const size_t pc_compat_2_12_len = G_N_ELEMENTS(pc_compat_2_12); - /* * @PC_FW_DATA: * Size of the chunk of memory at the top of RAM for the BIOS ACPI tables -- 2.53.0
