@samitouri / QOSamiQemu / commits / cc60846298

hw/i386/pc: Remove pc_compat_3_0[] array

The pc_compat_3_0[] array was only used by the pc-q35-3.0 and pc-i440fx-3.0 machines, which got removed. Remove it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20260307150042.78030-3-philmd@linaro.org>

Philippe Mathieu-Daudé committed Apr 29, 2025 at 16:45 UTC cc60846298a00acefe4110f0b2d083912466f2e3
2 files changed -10
hw/i386/pc.c
-7
@@ -214,13 +214,6 @@ GlobalProperty pc_compat_3_1[] = {
214 };
215 const size_t pc_compat_3_1_len = G_N_ELEMENTS(pc_compat_3_1);
216
217 -GlobalProperty pc_compat_3_0[] = {
218 - { TYPE_X86_CPU, "x-hv-synic-kvm-only", "on" },
219 - { "Skylake-Server" "-" TYPE_X86_CPU, "pku", "off" },
220 - { "Skylake-Server-IBRS" "-" TYPE_X86_CPU, "pku", "off" },
221 -};
222 -const size_t pc_compat_3_0_len = G_N_ELEMENTS(pc_compat_3_0);
223 -
217 /*
218 * @PC_FW_DATA:
219 * Size of the chunk of memory at the top of RAM for the BIOS ACPI tables
include/hw/i386/pc.h
-3
@@ -277,9 +277,6 @@ extern const size_t pc_compat_4_0_len;
277 extern GlobalProperty pc_compat_3_1[];
278 extern const size_t pc_compat_3_1_len;
279
280 -extern GlobalProperty pc_compat_3_0[];
281 -extern const size_t pc_compat_3_0_len;
282 -
280 #define DEFINE_PC_MACHINE(suffix, namestr, initfn, optsfn) \
281 static void pc_machine_##suffix##_class_init(ObjectClass *oc, \
282 const void *data) \