From c313209455b2c5fd34560f469af4737a6c8e6fdb Mon Sep 17 00:00:00 2001 From: Lin Ma Date: Thu, 10 Nov 2022 15:57:43 +0800 Subject: tests: Add domcaps coverage for usb-redir/spicevmc channel checks Signed-off-by: Lin Ma --- tests/test_capabilities.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_capabilities.py b/tests/test_capabilities.py index d102e51b..70c9de6f 100644 --- a/tests/test_capabilities.py +++ b/tests/test_capabilities.py @@ -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) -- cgit v1.2.1