From: Philippe Mathieu-Daudé <[email protected]> The pc_compat_2_10[] array was only used by the pc-q35-2.10 and pc-i440fx-2.10 machines, which got removed. Remove it.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Message-ID: <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Reviewed-by: Xiaoyao Li <[email protected]> Signed-off-by: Thomas Huth <[email protected]> --- include/hw/i386/pc.h | 3 --- hw/i386/pc.c | 7 ------- 2 files changed, 10 deletions(-) diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index 307c120b8a2..03ef7ba2494 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -286,9 +286,6 @@ extern const size_t pc_compat_2_12_len; extern GlobalProperty pc_compat_2_11[]; extern const size_t pc_compat_2_11_len; -extern GlobalProperty pc_compat_2_10[]; -extern const size_t pc_compat_2_10_len; - #define DEFINE_PC_MACHINE(suffix, namestr, initfn, optsfn) \ static void pc_machine_##suffix##_class_init(ObjectClass *oc, \ const void *data) \ diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 8329988013e..59cfe4f01cd 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -235,13 +235,6 @@ GlobalProperty pc_compat_2_11[] = { }; const size_t pc_compat_2_11_len = G_N_ELEMENTS(pc_compat_2_11); -GlobalProperty pc_compat_2_10[] = { - { TYPE_X86_CPU, "x-hv-max-vps", "0x40" }, - { "i440FX-pcihost", "x-pci-hole64-fix", "off" }, - { "q35-pcihost", "x-pci-hole64-fix", "off" }, -}; -const size_t pc_compat_2_10_len = G_N_ELEMENTS(pc_compat_2_10); - /* * @PC_FW_DATA: * Size of the chunk of memory at the top of RAM for the BIOS ACPI tables -- 2.53.0
