qemuxml2xmltest: Convert all s390 test cases to real capabilities

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2023-03-24 15:10:25 +01:00
parent 5887466ec6
commit a5bd444cb2
25 changed files with 137 additions and 58 deletions

View File

@ -8,6 +8,9 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>

View File

@ -8,6 +8,9 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
@ -23,6 +26,7 @@
<controller type='scsi' index='0' model='virtio-scsi'> <controller type='scsi' index='0' model='virtio-scsi'>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0001'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0001'/>
</controller> </controller>
<controller type='pci' index='0' model='pci-root'/>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<hostdev mode='subsystem' type='scsi_host' managed='no'> <hostdev mode='subsystem' type='scsi_host' managed='no'>
<source protocol='vhost' wwpn='naa.5123456789abcde0'/> <source protocol='vhost' wwpn='naa.5123456789abcde0'/>

View File

@ -8,12 +8,16 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash> <on_crash>destroy</on_crash>
<devices> <devices>
<emulator>/usr/bin/qemu-system-s390x</emulator> <emulator>/usr/bin/qemu-system-s390x</emulator>
<controller type='pci' index='0' model='pci-root'/>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<hostdev mode='subsystem' type='mdev' managed='no' model='vfio-ap'> <hostdev mode='subsystem' type='mdev' managed='no' model='vfio-ap'>
<source> <source>

View File

@ -8,12 +8,16 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash> <on_crash>destroy</on_crash>
<devices> <devices>
<emulator>/usr/bin/qemu-system-s390x</emulator> <emulator>/usr/bin/qemu-system-s390x</emulator>
<controller type='pci' index='0' model='pci-root'/>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<hostdev mode='subsystem' type='mdev' managed='no' model='vfio-ccw'> <hostdev mode='subsystem' type='mdev' managed='no' model='vfio-ccw'>
<source> <source>

View File

@ -8,6 +8,9 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>

View File

@ -8,6 +8,9 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>

View File

@ -8,6 +8,9 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>

View File

@ -8,6 +8,9 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>

View File

@ -8,6 +8,7 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='host-model' check='partial'/>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>

View File

@ -8,6 +8,9 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>

View File

@ -8,6 +8,9 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>

View File

@ -8,6 +8,9 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
@ -20,6 +23,7 @@
<target dev='hda' bus='virtio'/> <target dev='hda' bus='virtio'/>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/>
</disk> </disk>
<controller type='pci' index='0' model='pci-root'/>
<input type='keyboard' bus='virtio'> <input type='keyboard' bus='virtio'>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0002'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0002'/>
</input> </input>

View File

@ -7,6 +7,9 @@
<os> <os>
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
@ -27,6 +30,7 @@
<boot order='3' loadparm='3'/> <boot order='3' loadparm='3'/>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0003'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0003'/>
</disk> </disk>
<controller type='pci' index='0' model='pci-root'/>
<interface type='user'> <interface type='user'>
<mac address='00:11:22:33:44:54'/> <mac address='00:11:22:33:44:54'/>
<model type='virtio'/> <model type='virtio'/>

View File

@ -8,6 +8,9 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
@ -17,6 +20,7 @@
<controller type='virtio-serial' index='0'> <controller type='virtio-serial' index='0'>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/>
</controller> </controller>
<controller type='pci' index='0' model='pci-root'/>
<console type='pty'> <console type='pty'>
<target type='virtio' port='0'/> <target type='virtio' port='0'/>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0001'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0001'/>

View File

@ -8,6 +8,9 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
@ -17,6 +20,7 @@
<controller type='virtio-serial' index='0'> <controller type='virtio-serial' index='0'>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/>
</controller> </controller>
<controller type='pci' index='0' model='pci-root'/>
<console type='pty'> <console type='pty'>
<target type='virtio' port='0'/> <target type='virtio' port='0'/>
</console> </console>

View File

@ -8,6 +8,7 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='host-model' check='partial'/>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
@ -17,6 +18,7 @@
<controller type='virtio-serial' index='0'> <controller type='virtio-serial' index='0'>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/>
</controller> </controller>
<controller type='pci' index='0' model='pci-root'/>
<console type='pty'> <console type='pty'>
<target type='virtio' port='0'/> <target type='virtio' port='0'/>
</console> </console>

View File

@ -8,12 +8,16 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash> <on_crash>destroy</on_crash>
<devices> <devices>
<emulator>/usr/bin/qemu-system-s390x</emulator> <emulator>/usr/bin/qemu-system-s390x</emulator>
<controller type='pci' index='0' model='pci-root'/>
<serial type='pty'> <serial type='pty'>
<target type='sclp-serial' port='0'> <target type='sclp-serial' port='0'>
<model name='sclpconsole'/> <model name='sclpconsole'/>

View File

@ -8,12 +8,16 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash> <on_crash>destroy</on_crash>
<devices> <devices>
<emulator>/usr/bin/qemu-system-s390x</emulator> <emulator>/usr/bin/qemu-system-s390x</emulator>
<controller type='pci' index='0' model='pci-root'/>
<serial type='pty'> <serial type='pty'>
<target type='sclp-serial' port='0'> <target type='sclp-serial' port='0'>
<model name='sclpconsole'/> <model name='sclpconsole'/>

View File

@ -8,12 +8,16 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash> <on_crash>destroy</on_crash>
<devices> <devices>
<emulator>/usr/bin/qemu-system-s390x</emulator> <emulator>/usr/bin/qemu-system-s390x</emulator>
<controller type='pci' index='0' model='pci-root'/>
<serial type='pty'> <serial type='pty'>
<target type='sclp-serial' port='0'> <target type='sclp-serial' port='0'>
<model name='sclpconsole'/> <model name='sclpconsole'/>

View File

@ -8,6 +8,9 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
@ -20,6 +23,7 @@
<target dev='hda' bus='virtio'/> <target dev='hda' bus='virtio'/>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/>
</disk> </disk>
<controller type='pci' index='0' model='pci-root'/>
<audio id='1' type='none'/> <audio id='1' type='none'/>
<memballoon model='virtio'> <memballoon model='virtio'>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0001'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0001'/>

View File

@ -0,0 +1,37 @@
<domain type='qemu'>
<name>QEMUGuest1</name>
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
<memory unit='KiB'>219136</memory>
<currentMemory unit='KiB'>219136</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/>
</os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/bin/qemu-system-s390x</emulator>
<disk type='block' device='disk'>
<driver name='qemu' type='raw'/>
<source dev='/dev/HostVG/QEMUGuest1'/>
<target dev='hda' bus='virtio'/>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/>
</disk>
<controller type='pci' index='0' model='pci-root'/>
<audio id='1' type='none'/>
<memballoon model='virtio'>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0001'/>
</memballoon>
<panic model='s390'/>
<vsock model='virtio'>
<cid auto='no' address='4'/>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0003'/>
</vsock>
</devices>
</domain>

View File

@ -1 +0,0 @@
../qemuxml2argvdata/vhost-vsock-ccw.xml

View File

@ -8,6 +8,9 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
@ -20,6 +23,7 @@
<target dev='hda' bus='virtio'/> <target dev='hda' bus='virtio'/>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/>
</disk> </disk>
<controller type='pci' index='0' model='pci-root'/>
<graphics type='vnc' port='-1' autoport='yes'> <graphics type='vnc' port='-1' autoport='yes'>
<listen type='address'/> <listen type='address'/>
</graphics> </graphics>

View File

@ -8,6 +8,9 @@
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type> <type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
<boot dev='hd'/> <boot dev='hd'/>
</os> </os>
<cpu mode='custom' match='exact' check='none'>
<model fallback='forbid'>qemu</model>
</cpu>
<clock offset='utc'/> <clock offset='utc'/>
<on_poweroff>destroy</on_poweroff> <on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot> <on_reboot>restart</on_reboot>
@ -20,6 +23,7 @@
<target dev='hda' bus='virtio'/> <target dev='hda' bus='virtio'/>
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/>
</disk> </disk>
<controller type='pci' index='0' model='pci-root'/>
<graphics type='vnc' port='-1' autoport='yes'> <graphics type='vnc' port='-1' autoport='yes'>
<listen type='address'/> <listen type='address'/>
</graphics> </graphics>

View File

@ -208,7 +208,7 @@ mymain(void)
DO_TEST_CAPS_LATEST("machine-smm-on"); DO_TEST_CAPS_LATEST("machine-smm-on");
DO_TEST_CAPS_LATEST("machine-smm-off"); DO_TEST_CAPS_LATEST("machine-smm-off");
DO_TEST_CAPS_ARCH_LATEST("machine-loadparm-hostdev", "s390x"); DO_TEST_CAPS_ARCH_LATEST("machine-loadparm-hostdev", "s390x");
DO_TEST_NOCAPS("machine-loadparm-multiple-disks-nets-s390"); DO_TEST_CAPS_ARCH_LATEST("machine-loadparm-multiple-disks-nets-s390", "s390x");
DO_TEST_NOCAPS("default-kvm-host-arch"); DO_TEST_NOCAPS("default-kvm-host-arch");
DO_TEST_NOCAPS("default-qemu-host-arch"); DO_TEST_NOCAPS("default-qemu-host-arch");
DO_TEST_NOCAPS("boot-cdrom"); DO_TEST_NOCAPS("boot-cdrom");
@ -323,8 +323,7 @@ mymain(void)
QEMU_CAPS_PR_MANAGER_HELPER, QEMU_CAPS_PR_MANAGER_HELPER,
QEMU_CAPS_SCSI_BLOCK); QEMU_CAPS_SCSI_BLOCK);
DO_TEST("controller-virtio-scsi", QEMU_CAPS_VIRTIO_SCSI); DO_TEST("controller-virtio-scsi", QEMU_CAPS_VIRTIO_SCSI);
DO_TEST("disk-virtio-s390-zpci", DO_TEST_CAPS_ARCH_LATEST("disk-virtio-s390-zpci", "s390x");
QEMU_CAPS_DEVICE_ZPCI);
DO_TEST_NOCAPS("disk-mirror-old"); DO_TEST_NOCAPS("disk-mirror-old");
DO_TEST_NOCAPS("disk-mirror"); DO_TEST_NOCAPS("disk-mirror");
DO_TEST_NOCAPS("disk-active-commit"); DO_TEST_NOCAPS("disk-active-commit");
@ -492,29 +491,13 @@ mymain(void)
DO_TEST("hostdev-pci-address-unassigned", QEMU_CAPS_DEVICE_VFIO_PCI); DO_TEST("hostdev-pci-address-unassigned", QEMU_CAPS_DEVICE_VFIO_PCI);
DO_TEST("hostdev-pci-multifunction", QEMU_CAPS_DEVICE_VFIO_PCI); DO_TEST("hostdev-pci-multifunction", QEMU_CAPS_DEVICE_VFIO_PCI);
DO_TEST("hostdev-vfio", QEMU_CAPS_DEVICE_VFIO_PCI); DO_TEST("hostdev-vfio", QEMU_CAPS_DEVICE_VFIO_PCI);
DO_TEST("hostdev-vfio-zpci", DO_TEST_CAPS_ARCH_LATEST("hostdev-vfio-zpci", "s390x");
QEMU_CAPS_DEVICE_VFIO_PCI, DO_TEST_CAPS_ARCH_LATEST("hostdev-vfio-zpci-multidomain-many", "s390x");
QEMU_CAPS_DEVICE_ZPCI); DO_TEST_CAPS_ARCH_LATEST("hostdev-vfio-zpci-autogenerate", "s390x");
DO_TEST("hostdev-vfio-zpci-multidomain-many", DO_TEST_CAPS_ARCH_LATEST("hostdev-vfio-zpci-autogenerate-uids", "s390x");
QEMU_CAPS_DEVICE_VFIO_PCI, DO_TEST_CAPS_ARCH_LATEST("hostdev-vfio-zpci-autogenerate-fids", "s390x");
QEMU_CAPS_DEVICE_PCI_BRIDGE, DO_TEST_CAPS_ARCH_LATEST("hostdev-vfio-zpci-boundaries", "s390x");
QEMU_CAPS_DEVICE_ZPCI); DO_TEST_CAPS_ARCH_LATEST("hostdev-vfio-zpci-ccw-memballoon", "s390x");
DO_TEST("hostdev-vfio-zpci-autogenerate",
QEMU_CAPS_DEVICE_VFIO_PCI,
QEMU_CAPS_DEVICE_ZPCI);
DO_TEST("hostdev-vfio-zpci-autogenerate-uids",
QEMU_CAPS_DEVICE_VFIO_PCI,
QEMU_CAPS_DEVICE_ZPCI);
DO_TEST("hostdev-vfio-zpci-autogenerate-fids",
QEMU_CAPS_DEVICE_VFIO_PCI,
QEMU_CAPS_DEVICE_ZPCI);
DO_TEST("hostdev-vfio-zpci-boundaries",
QEMU_CAPS_DEVICE_VFIO_PCI,
QEMU_CAPS_DEVICE_PCI_BRIDGE,
QEMU_CAPS_DEVICE_ZPCI);
DO_TEST("hostdev-vfio-zpci-ccw-memballoon",
QEMU_CAPS_DEVICE_VFIO_PCI,
QEMU_CAPS_DEVICE_ZPCI);
DO_TEST("hostdev-mdev-precreated", QEMU_CAPS_DEVICE_VFIO_PCI); DO_TEST("hostdev-mdev-precreated", QEMU_CAPS_DEVICE_VFIO_PCI);
DO_TEST("hostdev-mdev-display", DO_TEST("hostdev-mdev-display",
QEMU_CAPS_DEVICE_QXL, QEMU_CAPS_DEVICE_QXL,
@ -814,8 +797,7 @@ mymain(void)
QEMU_CAPS_DEVICE_IOH3420, QEMU_CAPS_DEVICE_IOH3420,
QEMU_CAPS_HDA_DUPLEX); QEMU_CAPS_HDA_DUPLEX);
DO_TEST("hostdev-scsi-vhost-scsi-ccw", DO_TEST_CAPS_ARCH_LATEST("hostdev-scsi-vhost-scsi-ccw", "s390x");
QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_DEVICE_VHOST_SCSI);
DO_TEST("hostdev-scsi-vhost-scsi-pci", DO_TEST("hostdev-scsi-vhost-scsi-pci",
QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_VIRTIO_SCSI,
QEMU_CAPS_DEVICE_VHOST_SCSI); QEMU_CAPS_DEVICE_VHOST_SCSI);
@ -838,20 +820,17 @@ mymain(void)
QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_VIRTIO_SCSI,
QEMU_CAPS_SCSI_LSI); QEMU_CAPS_SCSI_LSI);
DO_TEST("hostdev-subsys-mdev-vfio-ccw", DO_TEST_CAPS_ARCH_LATEST("hostdev-subsys-mdev-vfio-ccw", "s390x");
QEMU_CAPS_DEVICE_VFIO_CCW); DO_TEST_CAPS_ARCH_LATEST("hostdev-subsys-mdev-vfio-ccw-boot", "s390x");
DO_TEST_CAPS_ARCH_LATEST("hostdev-subsys-mdev-vfio-ccw-boot", DO_TEST_CAPS_ARCH_LATEST("hostdev-subsys-mdev-vfio-ap", "s390x");
"s390x");
DO_TEST("hostdev-subsys-mdev-vfio-ap",
QEMU_CAPS_DEVICE_VFIO_AP);
DO_TEST_CAPS_ARCH_LATEST("s390-defaultconsole", "s390x"); DO_TEST_CAPS_ARCH_LATEST("s390-defaultconsole", "s390x");
DO_TEST_NOCAPS("s390-panic"); DO_TEST_CAPS_ARCH_LATEST("s390-panic", "s390x");
DO_TEST_NOCAPS("s390-panic-missing"); DO_TEST_CAPS_ARCH_LATEST("s390-panic-missing", "s390x");
DO_TEST_NOCAPS("s390-panic-no-address"); DO_TEST_CAPS_ARCH_LATEST("s390-panic-no-address", "s390x");
DO_TEST_NOCAPS("s390-serial"); DO_TEST_CAPS_ARCH_LATEST("s390-serial", "s390x");
DO_TEST_NOCAPS("s390-serial-2"); DO_TEST_CAPS_ARCH_LATEST("s390-serial-2", "s390x");
DO_TEST_NOCAPS("s390-serial-console"); DO_TEST_CAPS_ARCH_LATEST("s390-serial-console", "s390x");
DO_TEST_NOCAPS("pcihole64"); DO_TEST_NOCAPS("pcihole64");
DO_TEST_NOCAPS("pcihole64-gib"); DO_TEST_NOCAPS("pcihole64-gib");
@ -1085,14 +1064,8 @@ mymain(void)
DO_TEST("video-qxl-noheads", QEMU_CAPS_DEVICE_QXL); DO_TEST("video-qxl-noheads", QEMU_CAPS_DEVICE_QXL);
DO_TEST("video-qxl-resolution", QEMU_CAPS_DEVICE_QXL); DO_TEST("video-qxl-resolution", QEMU_CAPS_DEVICE_QXL);
DO_TEST("video-virtio-gpu-secondary", QEMU_CAPS_DEVICE_VIRTIO_GPU); DO_TEST("video-virtio-gpu-secondary", QEMU_CAPS_DEVICE_VIRTIO_GPU);
DO_TEST("video-virtio-gpu-ccw", DO_TEST_CAPS_ARCH_LATEST("video-virtio-gpu-ccw", "s390x");
QEMU_CAPS_DEVICE_VIRTIO_GPU, DO_TEST_CAPS_ARCH_LATEST("video-virtio-gpu-ccw-auto", "s390x");
QEMU_CAPS_VNC,
QEMU_CAPS_DEVICE_VIRTIO_GPU_CCW);
DO_TEST("video-virtio-gpu-ccw-auto",
QEMU_CAPS_DEVICE_VIRTIO_GPU,
QEMU_CAPS_VNC,
QEMU_CAPS_DEVICE_VIRTIO_GPU_CCW);
DO_TEST("video-none-device", QEMU_CAPS_VNC); DO_TEST("video-none-device", QEMU_CAPS_VNC);
DO_TEST_CAPS_LATEST("video-virtio-vga-gpu-gl"); DO_TEST_CAPS_LATEST("video-virtio-vga-gpu-gl");
DO_TEST_CAPS_LATEST("video-virtio-blob-on"); DO_TEST_CAPS_LATEST("video-virtio-blob-on");
@ -1133,20 +1106,14 @@ mymain(void)
DO_TEST_CAPS_ARCH_LATEST("pseries-cpu-exact", "ppc64"); DO_TEST_CAPS_ARCH_LATEST("pseries-cpu-exact", "ppc64");
DO_TEST_CAPS_LATEST("user-aliases"); DO_TEST_CAPS_LATEST("user-aliases");
DO_TEST("input-virtio-ccw", DO_TEST_CAPS_ARCH_LATEST("input-virtio-ccw", "s390x");
QEMU_CAPS_VIRTIO_KEYBOARD,
QEMU_CAPS_VIRTIO_MOUSE,
QEMU_CAPS_VIRTIO_TABLET,
QEMU_CAPS_DEVICE_VIRTIO_KEYBOARD_CCW,
QEMU_CAPS_DEVICE_VIRTIO_MOUSE_CCW,
QEMU_CAPS_DEVICE_VIRTIO_TABLET_CCW);
DO_TEST_CAPS_LATEST("tseg-explicit-size"); DO_TEST_CAPS_LATEST("tseg-explicit-size");
DO_TEST_CAPS_LATEST("vhost-vsock"); DO_TEST_CAPS_LATEST("vhost-vsock");
DO_TEST_CAPS_LATEST("vhost-vsock-auto"); DO_TEST_CAPS_LATEST("vhost-vsock-auto");
DO_TEST("vhost-vsock-ccw", QEMU_CAPS_DEVICE_VHOST_VSOCK); DO_TEST_CAPS_ARCH_LATEST("vhost-vsock-ccw", "s390x");
DO_TEST("vhost-vsock-ccw-auto", QEMU_CAPS_DEVICE_VHOST_VSOCK); DO_TEST_CAPS_ARCH_LATEST("vhost-vsock-ccw-auto", "s390x");
DO_TEST_CAPS_ARCH_LATEST("vhost-vsock-ccw-iommu", "s390x"); DO_TEST_CAPS_ARCH_LATEST("vhost-vsock-ccw-iommu", "s390x");