On Wed,  3 Dec 2025 00:28:29 +0800
Zhao Liu <[email protected]> wrote:

> From: Philippe Mathieu-Daudé <[email protected]>
> 
> The pc_compat_2_7[] array was only used by the pc-q35-2.7
> and pc-i440fx-2.7 machines, which got removed. Remove it.
> 
> Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
> Reviewed-by: Mark Cave-Ayland <[email protected]>
> Reviewed-by: Zhao Liu <[email protected]>
> Reviewed-by: Thomas Huth <[email protected]>

Reviewed-by: Igor Mammedov <[email protected]>

> Signed-off-by: Zhao Liu <[email protected]>
> ---
>  hw/i386/pc.c         | 10 ----------
>  include/hw/i386/pc.h |  3 ---
>  2 files changed, 13 deletions(-)
> 
> diff --git a/hw/i386/pc.c b/hw/i386/pc.c
> index 85d12f8d0389..b88030bf50d0 100644
> --- a/hw/i386/pc.c
> +++ b/hw/i386/pc.c
> @@ -253,16 +253,6 @@ GlobalProperty pc_compat_2_8[] = {
>  };
>  const size_t pc_compat_2_8_len = G_N_ELEMENTS(pc_compat_2_8);
>  
> -GlobalProperty pc_compat_2_7[] = {
> -    { TYPE_X86_CPU, "l3-cache", "off" },
> -    { TYPE_X86_CPU, "full-cpuid-auto-level", "off" },
> -    { "Opteron_G3" "-" TYPE_X86_CPU, "family", "15" },
> -    { "Opteron_G3" "-" TYPE_X86_CPU, "model", "6" },
> -    { "Opteron_G3" "-" TYPE_X86_CPU, "stepping", "1" },
> -    { "isa-pcspk", "migrate", "off" },
> -};
> -const size_t pc_compat_2_7_len = G_N_ELEMENTS(pc_compat_2_7);
> -
>  /*
>   * @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 f8f317aee197..accd08cb666b 100644
> --- a/include/hw/i386/pc.h
> +++ b/include/hw/i386/pc.h
> @@ -292,9 +292,6 @@ extern const size_t pc_compat_2_9_len;
>  extern GlobalProperty pc_compat_2_8[];
>  extern const size_t pc_compat_2_8_len;
>  
> -extern GlobalProperty pc_compat_2_7[];
> -extern const size_t pc_compat_2_7_len;
> -
>  #define DEFINE_PC_MACHINE(suffix, namestr, initfn, optsfn) \
>      static void pc_machine_##suffix##_class_init(ObjectClass *oc, \
>                                                   const void *data) \

Reply via email to