From 09dc3f583b342ef35b1ead29ff5d09d76140590c Mon Sep 17 00:00:00 2001 Message-ID: <09dc3f583b342ef35b1ead29ff5d09d76140590c.1744876588.git.jdenemar@redhat.com> From: Michal Privoznik Date: Tue, 14 Jan 2025 12:16:06 +0100 Subject: [PATCH] qemuxmlconftest: Drop s390-default-cpu-...ccw-virtio-2.7 test cases In its upstream commit [1], qemu dropped s390-2.7 machine type, then in commit [2] the s390-2.8 machine type was dropped. But as Thomas Huth pointed out, any machine type that's older than 6 years is subject to removal [3]. This means, any machine type older than 4.1 is going to be removed eventually. We have two test cases that assumes existence of 2.7 machine type. While they could be switched to 4.1 machine type, we also have another test case that already check 4.2 machine type. Therefore, just drop the 2.7 ones. 1: https://gitlab.com/qemu-project/qemu/-/commit/3199c7ee76089fb6844f6b2bed1f5d3d99a7527c 2: https://gitlab.com/qemu-project/qemu/-/commit/66924fe36977d9d9e45ba3e0b6e851ee170507f6 3: https://gitlab.com/qemu-project/qemu/-/commit/ce80c4fa6ff0f5c379bba7db74d04593e9fb12f2 Signed-off-by: Michal Privoznik Reviewed-by: Thomas Huth Reviewed-by: Boris Fiuczynski (cherry picked from commit 4933dfcce02baa941da6dd9e5b111d36d63ef900) Resolves: https://issues.redhat.com/browse/RHEL-72976 Signed-off-by: Michal Privoznik --- ...t-cpu-kvm-ccw-virtio-2.7.s390x-latest.args | 32 ------------------- ...lt-cpu-kvm-ccw-virtio-2.7.s390x-latest.xml | 25 --------------- .../s390-default-cpu-kvm-ccw-virtio-2.7.xml | 16 ---------- ...t-cpu-tcg-ccw-virtio-2.7.s390x-latest.args | 32 ------------------- ...lt-cpu-tcg-ccw-virtio-2.7.s390x-latest.xml | 27 ---------------- .../s390-default-cpu-tcg-ccw-virtio-2.7.xml | 16 ---------- tests/qemuxmlconftest.c | 2 -- 7 files changed, 150 deletions(-) delete mode 100644 tests/qemuxmlconfdata/s390-default-cpu-kvm-ccw-virtio-2.7.s390x-latest.args delete mode 100644 tests/qemuxmlconfdata/s390-default-cpu-kvm-ccw-virtio-2.7.s390x-latest.xml delete mode 100644 tests/qemuxmlconfdata/s390-default-cpu-kvm-ccw-virtio-2.7.xml delete mode 100644 tests/qemuxmlconfdata/s390-default-cpu-tcg-ccw-virtio-2.7.s390x-latest.args delete mode 100644 tests/qemuxmlconfdata/s390-default-cpu-tcg-ccw-virtio-2.7.s390x-latest.xml delete mode 100644 tests/qemuxmlconfdata/s390-default-cpu-tcg-ccw-virtio-2.7.xml diff --git a/tests/qemuxmlconfdata/s390-default-cpu-kvm-ccw-virtio-2.7.s390x-latest.args b/tests/qemuxmlconfdata/s390-default-cpu-kvm-ccw-virtio-2.7.s390x-latest.args deleted file mode 100644 index 0d44697425..0000000000 --- a/tests/qemuxmlconfdata/s390-default-cpu-kvm-ccw-virtio-2.7.s390x-latest.args +++ /dev/null @@ -1,32 +0,0 @@ -LC_ALL=C \ -PATH=/bin \ -HOME=/var/lib/libvirt/qemu/domain--1-test \ -USER=test \ -LOGNAME=test \ -XDG_DATA_HOME=/var/lib/libvirt/qemu/domain--1-test/.local/share \ -XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain--1-test/.cache \ -XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain--1-test/.config \ -/usr/bin/qemu-system-s390x \ --name guest=test,debug-threads=on \ --S \ --object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain--1-test/master-key.aes"}' \ --machine s390-ccw-virtio-2.7,usb=off,dump-guest-core=off,memory-backend=s390.ram \ --accel kvm \ --cpu host \ --m size=262144k \ --object '{"qom-type":"memory-backend-ram","id":"s390.ram","size":268435456}' \ --overcommit mem-lock=off \ --smp 1,sockets=1,cores=1,threads=1 \ --uuid 9aa4b45c-b9dd-45ef-91fe-862b27b4231f \ --display none \ --no-user-config \ --nodefaults \ --chardev socket,id=charmonitor,fd=1729,server=on,wait=off \ --mon chardev=charmonitor,id=monitor,mode=control \ --rtc base=utc \ --no-shutdown \ --boot strict=on \ --audiodev '{"id":"audio1","driver":"none"}' \ --device '{"driver":"virtio-balloon-ccw","id":"balloon0","devno":"fe.0.0000"}' \ --sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ --msg timestamp=on diff --git a/tests/qemuxmlconfdata/s390-default-cpu-kvm-ccw-virtio-2.7.s390x-latest.xml b/tests/qemuxmlconfdata/s390-default-cpu-kvm-ccw-virtio-2.7.s390x-latest.xml deleted file mode 100644 index ae39e6277d..0000000000 --- a/tests/qemuxmlconfdata/s390-default-cpu-kvm-ccw-virtio-2.7.s390x-latest.xml +++ /dev/null @@ -1,25 +0,0 @@ - - test - 9aa4b45c-b9dd-45ef-91fe-862b27b4231f - 262144 - 262144 - 1 - - hvm - - - - - destroy - restart - destroy - - /usr/bin/qemu-system-s390x - -