]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: qemu: Remove 's390-ccw' machine type from fake capabilities
authorPeter Krempa <pkrempa@redhat.com>
Wed, 22 Sep 2021 09:15:00 +0000 (11:15 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 23 Sep 2021 12:48:51 +0000 (14:48 +0200)
Modern QEMUs don't support the machine type at all. Remove it from our
fake caps generator too and adjust test cases which depend on it.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
25 files changed:
tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live+ccw-virtio.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live-with-2-ccw-virtio+ccw-virtio-1-explicit.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live-with-2-ccw-virtio+ccw-virtio-1-reverse.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live-with-2-ccw-virtio.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live-with-ccw-virtio+ccw-virtio-2-explicit.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live-with-ccw-virtio+ccw-virtio-2.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live-with-ccw-virtio.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live.xml
tests/qemuxml2argvdata/balloon-ccw-deflate.args
tests/qemuxml2argvdata/balloon-ccw-deflate.xml
tests/qemuxml2argvdata/console-virtio-ccw.args
tests/qemuxml2argvdata/console-virtio-ccw.xml
tests/qemuxml2argvdata/hostdev-scsi-vhost-scsi-ccw.args
tests/qemuxml2argvdata/hostdev-scsi-vhost-scsi-ccw.xml
tests/qemuxml2argvdata/iothreads-disk-virtio-ccw.args
tests/qemuxml2argvdata/iothreads-disk-virtio-ccw.xml
tests/qemuxml2argvdata/net-virtio-ccw.args
tests/qemuxml2argvdata/net-virtio-ccw.xml
tests/qemuxml2argvdata/non-x86_64-timer-error.err
tests/qemuxml2argvdata/non-x86_64-timer-error.xml
tests/qemuxml2argvdata/virtio-rng-ccw.args
tests/qemuxml2argvdata/virtio-rng-ccw.xml
tests/qemuxml2xmloutdata/hostdev-scsi-vhost-scsi-ccw.xml
tests/qemuxml2xmloutdata/iothreads-disk-virtio-ccw.xml
tests/testutilsqemu.c

index 44f41c6ddd595b34d992ace21b01f06b0618a306..a786d0318553cc958dfa814cb7c823d673cc87d0 100644 (file)
@@ -5,7 +5,7 @@
   <currentMemory unit='KiB'>4194304</currentMemory>
   <vcpu placement='static'>4</vcpu>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
   <features>
index d10b29be7ee11103723144a547782c77ec69b7ea..0c76410ff159276e85bd9a06e93a4e9eb52b25ef 100644 (file)
@@ -5,7 +5,7 @@
   <currentMemory unit='KiB'>4194304</currentMemory>
   <vcpu placement='static'>4</vcpu>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
   <features>
index 0988f8681cc92dc36dbe529c778457ba49c277e4..e048d2c23a9a1e1c3ce572395ac9f9cdbc666355 100644 (file)
@@ -5,7 +5,7 @@
   <currentMemory unit='KiB'>4194304</currentMemory>
   <vcpu placement='static'>4</vcpu>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
   <features>
index b0151cd6909ad7231398826d263a9c79ec9833ce..fcf5bfadcba65d902b03f7a1e04bd11f5f39edf0 100644 (file)
@@ -5,7 +5,7 @@
   <currentMemory unit='KiB'>4194304</currentMemory>
   <vcpu placement='static'>4</vcpu>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
   <features>
index 0e8075caf606dc6ad10e50e0e521a28310f99ea7..8e7f479967fc1dfb9c99182ccebd8bbc5f3f100a 100644 (file)
@@ -5,7 +5,7 @@
   <currentMemory unit='KiB'>4194304</currentMemory>
   <vcpu placement='static'>4</vcpu>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
   <features>
index 0e8075caf606dc6ad10e50e0e521a28310f99ea7..8e7f479967fc1dfb9c99182ccebd8bbc5f3f100a 100644 (file)
@@ -5,7 +5,7 @@
   <currentMemory unit='KiB'>4194304</currentMemory>
   <vcpu placement='static'>4</vcpu>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
   <features>
index 240dda4c72021348a030f3963a035414fcef4872..adec14151225559246174b72f08c7f2f0b5014cc 100644 (file)
@@ -5,7 +5,7 @@
   <currentMemory unit='KiB'>4194304</currentMemory>
   <vcpu placement='static'>4</vcpu>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
   <features>
index 9a650e340e087c8b29e4dacb6bdb2e558650be44..2267fe39df5f6246e4f8255719d4376518ec3b4c 100644 (file)
@@ -5,7 +5,7 @@
   <currentMemory unit='KiB'>4194304</currentMemory>
   <vcpu placement='static'>4</vcpu>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
   <features>
index 351ac7ea4895d120fa61a242f7c45f1cc159a423..bf56265638542f980a41482aab7e82742c1de2df 100644 (file)
@@ -11,7 +11,7 @@ QEMU_AUDIO_DRV=none \
 -name guest=QEMUGuest1,debug-threads=on \
 -S \
 -object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
--machine s390-ccw,accel=tcg,usb=off,dump-guest-core=off \
+-machine s390-ccw-virtio,accel=tcg,usb=off,dump-guest-core=off \
 -m 214 \
 -realtime mlock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index fe7c76037f73bddaccc9d87ee0d0b07c3fbaafdd..046fd7137f52d74db4ee008438a93962184e42af 100644 (file)
@@ -5,7 +5,7 @@
   <currentMemory unit='KiB'>219136</currentMemory>
   <vcpu placement='static'>1</vcpu>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
   <clock offset='utc'/>
index 5af18394101773ba7ce5941601ec3ecdd5d59631..5447a5e9e0856e4ba4c2c77677f7a4fe25d41b8c 100644 (file)
@@ -11,7 +11,7 @@ QEMU_AUDIO_DRV=none \
 -name guest=QEMUGuest1,debug-threads=on \
 -S \
 -object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
--machine s390-ccw,accel=tcg,usb=off,dump-guest-core=off \
+-machine s390-ccw-virtio,accel=tcg,usb=off,dump-guest-core=off \
 -m 214 \
 -realtime mlock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index fc300db20e8d163fd1be9746a6d6561acc20dd8d..5a16facbeaa422e5240661a82294a90e65fd6a48 100644 (file)
@@ -4,7 +4,7 @@
   <memory>219100</memory>
   <currentMemory>219100</currentMemory>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
   </os>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
index 8f04e0b053e006e98acc7c5d07c381b36329d260..f78579846eb3e79ab634de1d30b50e11f995edcf 100644 (file)
@@ -11,7 +11,7 @@ QEMU_AUDIO_DRV=none \
 -name guest=QEMUGuest2,debug-threads=on \
 -S \
 -object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-QEMUGuest2/master-key.aes \
--machine s390-ccw,accel=tcg,usb=off,dump-guest-core=off \
+-machine s390-ccw-virtio,accel=tcg,usb=off,dump-guest-core=off \
 -m 214 \
 -realtime mlock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 33234bc3d9c52472dfab4d53ffc182b6970104fa..2ef7b0c688191536462aa898235ce1908b7dbe68 100644 (file)
@@ -5,7 +5,7 @@
   <currentMemory unit='KiB'>219100</currentMemory>
   <vcpu placement='static'>1</vcpu>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
   <clock offset='utc'/>
index 7d5efa5aa3b8433849a8474b98189e25ffbec2e4..52af50f032969f7c194529f729f3362420c74423 100644 (file)
@@ -11,7 +11,7 @@ QEMU_AUDIO_DRV=none \
 -name guest=QEMUGuest1,debug-threads=on \
 -S \
 -object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
--machine s390-ccw,accel=tcg,usb=off,dump-guest-core=off \
+-machine s390-ccw-virtio,accel=tcg,usb=off,dump-guest-core=off \
 -m 214 \
 -realtime mlock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index dcc64ae618eb5c9e148006ace9605ac3842d96e4..dd2f6062c26a9bf1d532c2ee7d3ffeb1fb55e131 100644 (file)
@@ -6,7 +6,7 @@
   <vcpu placement='static'>1</vcpu>
   <iothreads>2</iothreads>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
   <clock offset='utc'/>
index 76ceaef6cfd11dfbf7b642fad6ac53dff6f428b4..24719f5a7207c5ea2c82d0bc244ac3828e55997b 100644 (file)
@@ -11,7 +11,7 @@ QEMU_AUDIO_DRV=none \
 -name guest=QEMUGuest1,debug-threads=on \
 -S \
 -object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
--machine s390-ccw,accel=tcg,usb=off,dump-guest-core=off \
+-machine s390-ccw-virtio,accel=tcg,usb=off,dump-guest-core=off \
 -m 214 \
 -realtime mlock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index fa8d52d9c5e51fe51709116ea1e2049f60f369fc..ef8f0c872b6d6525e41758576963ff84d77661ea 100644 (file)
@@ -5,7 +5,7 @@
   <currentMemory>219136</currentMemory>
   <vcpu>1</vcpu>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
   <clock offset='utc'/>
index f46673eb624b87702f80d6017a0629d658adcdc3..eab07d939dbd5ce85ecb5a72cd8d0ac6a94388f4 100644 (file)
@@ -1 +1 @@
-unsupported configuration: Configuring the 'tsc' timer is not supported for virtType=kvm arch=s390x machine=s390-ccw guests
+unsupported configuration: Configuring the 'tsc' timer is not supported for virtType=kvm arch=s390x machine=s390-ccw-virtio guests
index 11559bb52bd37eb89e403fd178a7fd73968122d7..1c8bad2daf92c65481d143c91c04da3c44a4cf4e 100644 (file)
@@ -4,7 +4,7 @@
   <memory>262144</memory>
   <currentMemory>262144</currentMemory>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
   </os>
   <clock offset='utc'>
     <timer name='tsc' present='yes'/>
index c728ead87e2cf5a46a44137270026cb20ee52096..8ec40a2a9e65d781d55aaeee54faf1a267b80007 100644 (file)
@@ -11,7 +11,7 @@ QEMU_AUDIO_DRV=none \
 -name guest=QEMUGuest1,debug-threads=on \
 -S \
 -object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
--machine s390-ccw,accel=tcg,usb=off,dump-guest-core=off \
+-machine s390-ccw-virtio,accel=tcg,usb=off,dump-guest-core=off \
 -m 214 \
 -realtime mlock=off \
 -smp 1,sockets=1,cores=1,threads=1 \
index 2cf7d82b480dc5c75d39414a393cefd267ac3f50..8aa7c509c31a0820309ae0e6b8d815a5359a7cd9 100644 (file)
@@ -4,7 +4,7 @@
   <memory>219100</memory>
   <currentMemory>219100</currentMemory>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
   </os>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
index ee42e03f07fb8a5dbe2eeabfdd9d917f0de4ddfe..95eff7ead69974413e23579714481f5812e336fe 100644 (file)
@@ -5,7 +5,7 @@
   <currentMemory unit='KiB'>219100</currentMemory>
   <vcpu placement='static'>1</vcpu>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
   <clock offset='utc'/>
index f711b34ffeaf2ec277f19f3544fdf816a5118c03..05cb204ea5703e99e4a992c471921ee5ca4d3f20 100644 (file)
@@ -6,7 +6,7 @@
   <vcpu placement='static'>1</vcpu>
   <iothreads>2</iothreads>
   <os>
-    <type arch='s390x' machine='s390-ccw'>hvm</type>
+    <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
     <boot dev='hd'/>
   </os>
   <clock offset='utc'/>
index 505c66b818484ee559f56319b05946013ce975ec..1078a3117a91535b0cdf0509daa26ad8c064ec44 100644 (file)
@@ -73,7 +73,7 @@ static const char *const riscv64_machines[] = {
     "spike_v1.10", "spike_v1.9.1", "sifive_e", "virt", "sifive_u", NULL
 };
 static const char *const s390x_machines[] = {
-    "s390-ccw-virtio", "s390-ccw", NULL
+    "s390-ccw-virtio", NULL
 };
 static const char *const sparc_machines[] = {
     "SS-5", "LX", "SPARCClassic", "SPARCbook",