tests: Add domcaps coverage for usb-redir/spicevmc channel checks

Signed-off-by: Lin Ma <lma@suse.com>
This commit is contained in:
Lin Ma 2022-11-10 15:57:43 +08:00 committed by Cole Robinson
parent 180154d752
commit c313209455

View File

@ -92,6 +92,8 @@ def testDomainCapabilitiesx86():
assert caps.supports_filesystem_virtiofs()
assert caps.supports_memorybacking_memfd()
assert caps.supports_redirdev_usb()
assert caps.supports_channel_spicevmc()
xml = open(DATADIR + "/kvm-x86_64-domcaps-amd-sev.xml").read()
caps = DomainCapabilities(utils.URIs.open_testdriver_cached(), xml)