On Thu, 1 May 2025 23:04:52 +0200 Philippe Mathieu-Daudé <phi...@linaro.org> wrote:
> The pc_compat_2_9[] array was only used by the pc-q35-2.9 > and pc-i440fx-2.9 machines, which got removed. Remove it. > > Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Igor Mammedov <imamm...@redhat.com> > --- > include/hw/i386/pc.h | 3 --- > hw/i386/pc.c | 5 ----- > 2 files changed, 8 deletions(-) > > diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h > index db02cbc0d65..455b869cce9 100644 > --- a/include/hw/i386/pc.h > +++ b/include/hw/i386/pc.h > @@ -283,9 +283,6 @@ extern const size_t pc_compat_2_11_len; > extern GlobalProperty pc_compat_2_10[]; > extern const size_t pc_compat_2_10_len; > > -extern GlobalProperty pc_compat_2_9[]; > -extern const size_t pc_compat_2_9_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 5f07a44d447..298091932ab 100644 > --- a/hw/i386/pc.c > +++ b/hw/i386/pc.c > @@ -227,11 +227,6 @@ GlobalProperty pc_compat_2_10[] = { > }; > const size_t pc_compat_2_10_len = G_N_ELEMENTS(pc_compat_2_10); > > -GlobalProperty pc_compat_2_9[] = { > - { "mch", "extended-tseg-mbytes", "0" }, > -}; > -const size_t pc_compat_2_9_len = G_N_ELEMENTS(pc_compat_2_9); > - > /* > * @PC_FW_DATA: > * Size of the chunk of memory at the top of RAM for the BIOS ACPI tables