[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 02/14] hw/s390x/s390-virtio-ccw: Remove the deprecated 2.4 and 2.5
From: |
Thomas Huth |
Subject: |
[PULL 02/14] hw/s390x/s390-virtio-ccw: Remove the deprecated 2.4 and 2.5 machine types |
Date: |
Wed, 8 Jan 2025 09:44:59 +0100 |
They are older than 6 years, so according to our machine support
policy, they can be removed now.
This removes the requirements for the storage keys "migration-enabled"
property which will be removed in the next patch. It also removes
the code that sets "max_revision" to 0 for some CCW devices, but the
relating code in virtio-ccw.c indicates that 0 could have also been in
use for other machines types < 5.1, so further clean-up for code related
to "max_revision" won't be done yet (see also commit d55f518248f -
"virtio: skip legacy support check on machine types less than 5.1").
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Message-ID: <20250103144232.520383-2-thuth@redhat.com>
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 2be8da2913..bca61488cc 100644
--- a/hw/s390x/s390-virtio-ccw.c
+++ b/hw/s390x/s390-virtio-ccw.c
@@ -1325,43 +1325,6 @@ static void ccw_machine_2_6_class_options(MachineClass
*mc)
}
DEFINE_CCW_MACHINE(2, 6);
-static void ccw_machine_2_5_instance_options(MachineState *machine)
-{
- ccw_machine_2_6_instance_options(machine);
-}
-
-static void ccw_machine_2_5_class_options(MachineClass *mc)
-{
- ccw_machine_2_6_class_options(mc);
- compat_props_add(mc->compat_props, hw_compat_2_5, hw_compat_2_5_len);
-}
-DEFINE_CCW_MACHINE(2, 5);
-
-static void ccw_machine_2_4_instance_options(MachineState *machine)
-{
- ccw_machine_2_5_instance_options(machine);
-}
-
-static void ccw_machine_2_4_class_options(MachineClass *mc)
-{
- static GlobalProperty compat[] = {
- { TYPE_S390_SKEYS, "migration-enabled", "off", },
- { "virtio-blk-ccw", "max_revision", "0", },
- { "virtio-balloon-ccw", "max_revision", "0", },
- { "virtio-serial-ccw", "max_revision", "0", },
- { "virtio-9p-ccw", "max_revision", "0", },
- { "virtio-rng-ccw", "max_revision", "0", },
- { "virtio-net-ccw", "max_revision", "0", },
- { "virtio-scsi-ccw", "max_revision", "0", },
- { "vhost-scsi-ccw", "max_revision", "0", },
- };
-
- ccw_machine_2_5_class_options(mc);
- compat_props_add(mc->compat_props, hw_compat_2_4, hw_compat_2_4_len);
- compat_props_add(mc->compat_props, compat, G_N_ELEMENTS(compat));
-}
-DEFINE_CCW_MACHINE(2, 4);
-
#endif
static void ccw_machine_register_types(void)
--
2.47.1
- [PULL 00/14] Fixes for tests and removal of deprecated features, Thomas Huth, 2025/01/08
- [PULL 01/14] tests/tcg/s390x: Use the SLOF libc headers for the multiarch tests, Thomas Huth, 2025/01/08
- [PULL 03/14] hw/s390x/s390-skeys: Remove the "migration-enabled" property, Thomas Huth, 2025/01/08
- [PULL 02/14] hw/s390x/s390-virtio-ccw: Remove the deprecated 2.4 and 2.5 machine types,
Thomas Huth <=
- [PULL 05/14] hw/s390x: Remove the "ri_allowed" switch, Thomas Huth, 2025/01/08
- [PULL 04/14] hw/s390x/s390-virtio-ccw: Remove the deprecated 2.6 machine type, Thomas Huth, 2025/01/08
- [PULL 06/14] hw/s390x/ipl: Remove the "iplbext_migration" property, Thomas Huth, 2025/01/08
- [PULL 07/14] hw/s390x/css-bridge: Remove the "css_dev_path" property, Thomas Huth, 2025/01/08
- [PULL 09/14] hw/s390x: Remove the cpu_model_allowed flag and related code, Thomas Huth, 2025/01/08
- [PULL 08/14] hw/s390x/s390-virtio-ccw: Remove the deprecated 2.7 machine type, Thomas Huth, 2025/01/08
- [PULL 12/14] Remove the deprecated "-runas" command line option, Thomas Huth, 2025/01/08
- [PULL 10/14] hw/s390x/s390-virtio-ccw: Remove the deprecated 2.8 machine type, Thomas Huth, 2025/01/08
- [PULL 14/14] tests/functional/test_x86_64_hotplug_cpu: Fix race condition during unplug, Thomas Huth, 2025/01/08
- [PULL 11/14] hw/s390x: Remove the "adapter_routes_max_batch" property from the flic, Thomas Huth, 2025/01/08