Subject: tests: Update to latest kvm domcaps From: Cole Robinson crobinso@redhat.com Wed Dec 14 12:44:13 2022 -0500 Date: Wed Dec 14 12:45:05 2022 -0500: Git: b5d6dfaa0dab6c65b3ae4264e62302f2d93a69d4 And add some test coverage exclusions, needed for previous patches Signed-off-by: Cole Robinson diff --git a/tests/data/capabilities/kvm-x86_64-domcaps-latest.xml b/tests/data/capabilities/kvm-x86_64-domcaps-latest.xml index ee586e1a..ebcc9ec4 100644 --- a/tests/data/capabilities/kvm-x86_64-domcaps-latest.xml +++ b/tests/data/capabilities/kvm-x86_64-domcaps-latest.xml @@ -1,7 +1,7 @@ /usr/bin/qemu-system-x86_64 kvm - pc-q35-6.1 + pc-q35-7.0 x86_64 @@ -12,6 +12,8 @@ /usr/share/edk2/ovmf/OVMF_CODE.secboot.fd /usr/share/edk2/ovmf/OVMF_CODE.fd + /usr/share/edk2/ovmf/OVMF.amdsev.fd + /usr/share/edk2/ovmf/OVMF.inteltdx.fd rom pflash @@ -40,91 +42,91 @@ - Cooperlake + Skylake-Client-IBRS Intel - + + + + + + + + + + + - - - - - - - - - - - qemu64 - qemu32 - phenom - pentium3 - pentium2 - pentium - n270 - kvm64 - kvm32 - coreduo - core2duo - athlon - Westmere-IBRS - Westmere - Snowridge - Skylake-Server-noTSX-IBRS - Skylake-Server-IBRS - Skylake-Server - Skylake-Client-noTSX-IBRS - Skylake-Client-IBRS - Skylake-Client - SandyBridge-IBRS - SandyBridge - Penryn - Opteron_G5 - Opteron_G4 - Opteron_G3 - Opteron_G2 - Opteron_G1 - Nehalem-IBRS - Nehalem - IvyBridge-IBRS - IvyBridge - Icelake-Server-noTSX - Icelake-Server - Icelake-Client-noTSX - Icelake-Client - Haswell-noTSX-IBRS - Haswell-noTSX - Haswell-IBRS - Haswell - EPYC-Rome - EPYC-Milan - EPYC-IBPB - EPYC - Dhyana - Cooperlake - Conroe - Cascadelake-Server-noTSX - Cascadelake-Server - Broadwell-noTSX-IBRS - Broadwell-noTSX - Broadwell-IBRS - Broadwell - 486 + qemu64 + qemu32 + phenom + pentium3 + pentium2 + pentium + n270 + kvm64 + kvm32 + coreduo + core2duo + athlon + Westmere-IBRS + Westmere + Snowridge + Skylake-Server-noTSX-IBRS + Skylake-Server-IBRS + Skylake-Server + Skylake-Client-noTSX-IBRS + Skylake-Client-IBRS + Skylake-Client + SandyBridge-IBRS + SandyBridge + Penryn + Opteron_G5 + Opteron_G4 + Opteron_G3 + Opteron_G2 + Opteron_G1 + Nehalem-IBRS + Nehalem + IvyBridge-IBRS + IvyBridge + Icelake-Server-noTSX + Icelake-Server + Icelake-Client-noTSX + Icelake-Client + Haswell-noTSX-IBRS + Haswell-noTSX + Haswell-IBRS + Haswell + EPYC-Rome + EPYC-Milan + EPYC-IBPB + EPYC + Dhyana + Cooperlake + Conroe + Cascadelake-Server-noTSX + Cascadelake-Server + Broadwell-noTSX-IBRS + Broadwell-noTSX + Broadwell-IBRS + Broadwell + 486 @@ -161,6 +163,7 @@ vnc spice egl-headless + dbus diff --git a/virtinst/guest.py b/virtinst/guest.py index c2244ae3..123abfb2 100644 --- a/virtinst/guest.py +++ b/virtinst/guest.py @@ -1128,7 +1128,7 @@ class Guest(XMLBuilder): def _add_spice_channels(self): if not self.lookup_domcaps().supports_channel_spicevmc(): - return + return # pragma: no cover if self.skip_default_channel: return for chn in self.devices.channel: @@ -1158,7 +1158,7 @@ class Guest(XMLBuilder): def _add_spice_usbredir(self): if not self.lookup_domcaps().supports_redirdev_usb(): - return + return # pragma: no cover if self.skip_default_usbredir: return if self.devices.redirdev: