]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw/i386/pc: Remove pc_compat_2_12[] array
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 1 May 2025 22:35:22 +0000 (00:35 +0200)
committerThomas Huth <thuth@redhat.com>
Thu, 5 Mar 2026 07:17:02 +0000 (08:17 +0100)
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>
hw/i386/pc.c
include/hw/i386/pc.h

index 6427c62dbcd0810e9c26b9ab6a5368b18140a86b..819e729a6e36f1b960126a8777bfa628796e46dc 100644 (file)
@@ -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
index a3b270ccc97c28da7a8227c7f593fc70e1f8dc47..113813c07d7cbf91e5eeae226ec82aab573b35ba 100644 (file)
@@ -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) \