Commit 1c6cef54a2 for qemu.org

commit 1c6cef54a2ceef9756897c0066e74d60b1decea0
Author: Philippe Mathieu-Daudé <philmd@linaro.org>
Date:   Wed Feb 25 10:20:18 2026 +0100

    hw/i386/pc: Remove deprecated pc-q35-2.9 and pc-i440fx-2.9 machines

    These machines has been supported for a period of more than 6 years.
    According to our versioned machine support policy (see commit
    ce80c4fa6ff "docs: document special exception for machine type
    deprecation & removal") they can now be removed.

    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Message-ID: <20250501210456.89071-14-philmd@linaro.org>
    Reviewed-by: Igor Mammedov <imammedo@redhat.com>
    Signed-off-by: Thomas Huth <thuth@redhat.com>
    Message-ID: <20260225092024.794595-11-thuth@redhat.com>

diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 58d76d2d41..d8417d1824 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -705,15 +705,6 @@ static void pc_i440fx_machine_2_10_options(MachineClass *m)

 DEFINE_I440FX_MACHINE(2, 10);

-static void pc_i440fx_machine_2_9_options(MachineClass *m)
-{
-    pc_i440fx_machine_2_10_options(m);
-    compat_props_add(m->compat_props, hw_compat_2_9, hw_compat_2_9_len);
-    compat_props_add(m->compat_props, pc_compat_2_9, pc_compat_2_9_len);
-}
-
-DEFINE_I440FX_MACHINE(2, 9);
-
 #ifdef CONFIG_XEN
 static void xenfv_machine_4_2_options(MachineClass *m)
 {
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
index 7fe6ca64f9..b94d1839e3 100644
--- a/hw/i386/pc_q35.c
+++ b/hw/i386/pc_q35.c
@@ -652,12 +652,3 @@ static void pc_q35_machine_2_10_options(MachineClass *m)
 }

 DEFINE_Q35_MACHINE(2, 10);
-
-static void pc_q35_machine_2_9_options(MachineClass *m)
-{
-    pc_q35_machine_2_10_options(m);
-    compat_props_add(m->compat_props, hw_compat_2_9, hw_compat_2_9_len);
-    compat_props_add(m->compat_props, pc_compat_2_9, pc_compat_2_9_len);
-}
-
-DEFINE_Q35_MACHINE(2, 9);