[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/8] hw/s390x/s390-virtio-ccw: Remove the deprecated 2.10 and 2.1
From: |
Thomas Huth |
Subject: |
[PATCH 5/8] hw/s390x/s390-virtio-ccw: Remove the deprecated 2.10 and 2.11 machine types |
Date: |
Wed, 15 Jan 2025 08:38:16 +0100 |
They are older than 6 years, so according to our machine support
policy, they can be removed now.
There was not anything special in the 2.10 machine type, so just remove
it together with the 2.11 machine type. The 2.11 machine type switched
some configuration that needs additional cleanups in the following
patches.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
hw/s390x/s390-virtio-ccw.c | 37 -------------------------------------
1 file changed, 37 deletions(-)
diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c
index b5635c43c4..44f8082326 100644
--- a/hw/s390x/s390-virtio-ccw.c
+++ b/hw/s390x/s390-virtio-ccw.c
@@ -1201,43 +1201,6 @@ static void ccw_machine_2_12_class_options(MachineClass
*mc)
}
DEFINE_CCW_MACHINE(2, 12);
-#ifdef CONFIG_S390X_LEGACY_CPUS
-
-static void ccw_machine_2_11_instance_options(MachineState *machine)
-{
- static const S390FeatInit qemu_cpu_feat = { S390_FEAT_LIST_QEMU_V2_11 };
- ccw_machine_2_12_instance_options(machine);
-
- /* before 2.12 we emulated the very first z900 */
- s390_set_qemu_cpu_model(0x2064, 7, 1, qemu_cpu_feat);
-}
-
-static void ccw_machine_2_11_class_options(MachineClass *mc)
-{
- static GlobalProperty compat[] = {
- { TYPE_SCLP_EVENT_FACILITY, "allow_all_mask_sizes", "off", },
- };
-
- ccw_machine_2_12_class_options(mc);
- compat_props_add(mc->compat_props, hw_compat_2_11, hw_compat_2_11_len);
- compat_props_add(mc->compat_props, compat, G_N_ELEMENTS(compat));
-}
-DEFINE_CCW_MACHINE(2, 11);
-
-static void ccw_machine_2_10_instance_options(MachineState *machine)
-{
- ccw_machine_2_11_instance_options(machine);
-}
-
-static void ccw_machine_2_10_class_options(MachineClass *mc)
-{
- ccw_machine_2_11_class_options(mc);
- compat_props_add(mc->compat_props, hw_compat_2_10, hw_compat_2_10_len);
-}
-DEFINE_CCW_MACHINE(2, 10);
-
-#endif
-
static void ccw_machine_register_types(void)
{
type_register_static(&ccw_machine_info);
--
2.47.1
- [PATCH 0/8] s390x: Remove deprecated machine types v2.9 up to v2.12, Thomas Huth, 2025/01/15
- [PATCH 1/8] hw/s390x/s390-virtio-ccw: Remove the deprecated 2.9 machine type, Thomas Huth, 2025/01/15
- [PATCH 2/8] hw/s390x/css: Remove the obsolete "css_migration_enabled" variable, Thomas Huth, 2025/01/15
- [PATCH 3/8] hw/s390x/s390-stattrib: Remove the old migration_enabled flag, Thomas Huth, 2025/01/15
- [PATCH 4/8] hw/intc/s390_flic: Remove the obsolete migration_enabled flag, Thomas Huth, 2025/01/15
- [PATCH 5/8] hw/s390x/s390-virtio-ccw: Remove the deprecated 2.10 and 2.11 machine types,
Thomas Huth <=
- [PATCH 6/8] hw/s390x/event-facility: Remove the obsolete "allow_all_mask_sizes" code, Thomas Huth, 2025/01/15
- [PATCH 7/8] target/s390x/gen-features: Remove the v2.11 qemu CPU model, Thomas Huth, 2025/01/15
- [PATCH 8/8] hw/s390x/s390-virtio-ccw: Remove the deprecated 2.12 machine type, Thomas Huth, 2025/01/15
- Re: [PATCH 0/8] s390x: Remove deprecated machine types v2.9 up to v2.12, Philippe Mathieu-Daudé, 2025/01/15