Browse Source

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>
master
Philippe Mathieu-Daudé 1 year ago
parent
commit
cc60846298
  1. 7
      hw/i386/pc.c
  2. 3
      include/hw/i386/pc.h

7
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); 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: * @PC_FW_DATA:
* Size of the chunk of memory at the top of RAM for the BIOS ACPI tables * Size of the chunk of memory at the top of RAM for the BIOS ACPI tables

3
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 GlobalProperty pc_compat_3_1[];
extern const size_t pc_compat_3_1_len; 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) \ #define DEFINE_PC_MACHINE(suffix, namestr, initfn, optsfn) \
static void pc_machine_##suffix##_class_init(ObjectClass *oc, \ static void pc_machine_##suffix##_class_init(ObjectClass *oc, \
const void *data) \ const void *data) \

Loading…
Cancel
Save