libvirt/tests/qemucapabilitiesdata
Thomas Huth e7a65484ba qemu: Refuse to use "ps2" on machines that do not have this bus
The "ps2" bus is only available on certain machines like x86. On
machines like s390x, we should refuse to add a device to this bus
instead of silently ignoring it.

Looking at the QEMU sources, PS/2 is only available if the QEMU binary
has the "i8042" device, so let's check for that and only allow "ps2"
devices if this QEMU device is available, or if we're on x86 anyway
(so we don't have to fake the QEMU_CAPS_DEVICE_I8042 capability in
all the tests that use <input ... bus='ps2'/> in their xml data).

Reported-by: Sebastian Mitterle <smitterl@redhat.com>
Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1763191
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2020-01-23 12:57:03 +01:00
..
caps_1.5.3.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_1.5.3.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_1.6.0.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_1.6.0.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_1.7.0.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_1.7.0.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_2.1.1.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.1.1.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_2.4.0.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.4.0.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_2.5.0.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.5.0.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_2.6.0.aarch64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.6.0.aarch64.xml qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
caps_2.6.0.ppc64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.6.0.ppc64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_2.6.0.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.6.0.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_2.7.0.s390x.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.7.0.s390x.xml qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
caps_2.7.0.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.7.0.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_2.8.0.s390x.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.8.0.s390x.xml qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
caps_2.8.0.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.8.0.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_2.9.0.ppc64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.9.0.ppc64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_2.9.0.s390x.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.9.0.s390x.xml qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
caps_2.9.0.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.9.0.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_2.10.0.aarch64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.10.0.aarch64.xml qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
caps_2.10.0.ppc64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.10.0.ppc64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_2.10.0.s390x.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.10.0.s390x.xml qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
caps_2.10.0.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.10.0.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_2.11.0.s390x.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.11.0.s390x.xml qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
caps_2.11.0.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.11.0.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_2.12.0.aarch64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.12.0.aarch64.xml qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
caps_2.12.0.ppc64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.12.0.ppc64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_2.12.0.s390x.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.12.0.s390x.xml qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
caps_2.12.0.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_2.12.0.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_3.0.0.ppc64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_3.0.0.ppc64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_3.0.0.riscv32.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_3.0.0.riscv32.xml qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
caps_3.0.0.riscv64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_3.0.0.riscv64.xml qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
caps_3.0.0.s390x.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_3.0.0.s390x.xml qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
caps_3.0.0.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_3.0.0.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_3.1.0.ppc64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_3.1.0.ppc64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_3.1.0.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_3.1.0.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_4.0.0.aarch64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_4.0.0.aarch64.xml qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
caps_4.0.0.ppc64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_4.0.0.ppc64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_4.0.0.riscv32.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_4.0.0.riscv32.xml qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
caps_4.0.0.riscv64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_4.0.0.riscv64.xml qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
caps_4.0.0.s390x.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_4.0.0.s390x.xml qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
caps_4.0.0.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_4.0.0.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_4.1.0.x86_64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_4.1.0.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_4.2.0.aarch64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_4.2.0.aarch64.xml qemu: add support for specifying CPU "dies" topology parameter 2020-01-16 15:11:55 +00:00
caps_4.2.0.ppc64.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_4.2.0.ppc64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00
caps_4.2.0.s390x.replies qemu: Probe machine types for both KVM and TCG 2019-11-20 17:22:06 +01:00
caps_4.2.0.s390x.xml qemu: add support for specifying CPU "dies" topology parameter 2020-01-16 15:11:55 +00:00
caps_4.2.0.x86_64.replies test: qemucaps: Refresh x86_64 caps probe data for the qemu-4.2 release 2019-12-18 09:49:31 +01:00
caps_4.2.0.x86_64.xml qemu: Refuse to use "ps2" on machines that do not have this bus 2020-01-23 12:57:03 +01:00