hw/i386/pc: Remove pc_compat_2_11[] array
The pc_compat_2_11[] array was only used by the pc-q35-2.11 and pc-i440fx-2.11 machines, which got removed. Remove it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20250501223522.99772-7-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
ce4ce7f43da819473a51886a3c06c1694867020e
2 files changed
-9
hw/i386/pc.c
-6
@@ -229,12 +229,6 @@ GlobalProperty pc_compat_2_12[] = {
229
};
230
const size_t pc_compat_2_12_len = G_N_ELEMENTS(pc_compat_2_12);
231
232
-GlobalProperty pc_compat_2_11[] = {
233
- { TYPE_X86_CPU, "x-migrate-smi-count", "off" },
234
- { "Skylake-Server" "-" TYPE_X86_CPU, "clflushopt", "off" },
235
-};
236
-const size_t pc_compat_2_11_len = G_N_ELEMENTS(pc_compat_2_11);
237
-
232
/*
233
* @PC_FW_DATA:
234
* Size of the chunk of memory at the top of RAM for the BIOS ACPI tables
include/hw/i386/pc.h
-3
@@ -283,9 +283,6 @@ extern const size_t pc_compat_3_0_len;
283
extern GlobalProperty pc_compat_2_12[];
284
extern const size_t pc_compat_2_12_len;
285
286
-extern GlobalProperty pc_compat_2_11[];
287
-extern const size_t pc_compat_2_11_len;
288
-
286
#define DEFINE_PC_MACHINE(suffix, namestr, initfn, optsfn) \
287
static void pc_machine_##suffix##_class_init(ObjectClass *oc, \
288
const void *data) \