From cc60846298a00acefe4110f0b2d083912466f2e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Tue, 29 Apr 2025 16:45:19 +0200 Subject: [PATCH] hw/i386/pc: Remove pc_compat_3_0[] array MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é Reviewed-by: Thomas Huth Message-Id: <20260307150042.78030-3-philmd@linaro.org> --- hw/i386/pc.c | 7 ------- include/hw/i386/pc.h | 3 --- 2 files changed, 10 deletions(-) diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 819e729a6e..a38634e357 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -214,13 +214,6 @@ GlobalProperty pc_compat_3_1[] = { }; const size_t pc_compat_3_1_len = G_N_ELEMENTS(pc_compat_3_1); -GlobalProperty pc_compat_3_0[] = { - { TYPE_X86_CPU, "x-hv-synic-kvm-only", "on" }, - { "Skylake-Server" "-" TYPE_X86_CPU, "pku", "off" }, - { "Skylake-Server-IBRS" "-" TYPE_X86_CPU, "pku", "off" }, -}; -const size_t pc_compat_3_0_len = G_N_ELEMENTS(pc_compat_3_0); - /* * @PC_FW_DATA: * Size of the chunk of memory at the top of RAM for the BIOS ACPI tables diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index 113813c07d..5623660f5d 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -277,9 +277,6 @@ extern const size_t pc_compat_4_0_len; extern GlobalProperty pc_compat_3_1[]; extern const size_t pc_compat_3_1_len; -extern GlobalProperty pc_compat_3_0[]; -extern const size_t pc_compat_3_0_len; - #define DEFINE_PC_MACHINE(suffix, namestr, initfn, optsfn) \ static void pc_machine_##suffix##_class_init(ObjectClass *oc, \ const void *data) \