libvirt/tests
Peter Krempa 3e8d38237d qemuBuildUSBControllerDevStr: Split out validation of USB controller
Move the validation code into a separate function. For now the
validation is still kept in the commandline format step as simply just
moving it to the validator causes failures in the test suite, which will
need to be investigated deeper.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2021-10-12 10:26:05 +02:00
..
bhyveargv2xmldata
bhyvefirmwaredata
bhyvexml2argvdata
bhyvexml2xmloutdata
capabilityschemadata
commanddata
cputestdata cpu-data.py: Automatically adjust command line for kcpuid 2021-05-07 18:02:48 +02:00
domainbackupxml2xmlin
domainbackupxml2xmlout
domaincapsdata qemucapabilitiesdata: Update qemu caps dump for 6.1.0 release 2021-08-25 10:33:38 +02:00
domainconfdata
domainschemadata
fchostdata/fc_host
genericxml2xmlindata conf: introduce support for Fibre Channel VMID 2021-08-17 13:50:38 +02:00
genericxml2xmloutdata genericxml2xmltest: Modify cachetune test to include id 2021-07-20 16:43:46 +02:00
interfaceschemadata
libxlxml2domconfigdata libxl: use b_info->{acpi,acpi} when available 2020-09-18 08:51:47 +02:00
lxcconf2xmldata
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata
networkxml2firewalldata
networkxml2xmlin network: Allow adding DNS entries sharing hostname for multiple addreses 2021-07-16 14:50:57 +02:00
networkxml2xmlout network: Allow adding DNS entries sharing hostname for multiple addreses 2021-07-16 14:50:57 +02:00
networkxml2xmlupdatein
networkxml2xmlupdateout network: Allow adding DNS entries sharing hostname for multiple addreses 2021-07-16 14:50:57 +02:00
nodedevmdevctldata nodedev: Add tests for mdevctl autostart command 2021-09-14 14:24:07 -05:00
nodedevschemadata Partial Revert of "tests: nodedevxml2xmltest: test more mdev files" 2021-05-27 15:38:19 +02:00
nodedevxml2xmlout nodedev: Revert auto-start property for mdevs 2021-05-27 15:38:28 +02:00
nssdata
nwfilterxml2firewalldata
nwfilterxml2xmlin
nwfilterxml2xmlout nwfilter: Add support for icmpv6 filtering 2015-01-07 11:41:49 -05:00
qemuagentdata
qemublocktestdata qemublocktest: Add test for creating a qcow2 on top of an luks-encrypted qcow2 2021-08-20 15:43:17 +02:00
qemucapabilitiesdata qemu: capabilities: Retire QEMU_CAPS_VIRTIO_(BLK|NET)_EVENT_IDX 2021-10-12 10:26:04 +02:00
qemucaps2xmloutdata
qemudomaincheckpointxml2xmlin
qemudomaincheckpointxml2xmlout
qemudomainsnapshotxml2xmlin
qemudomainsnapshotxml2xmlout
qemufirmwaredata
qemuhotplugtestcpus
qemuhotplugtestdevices
qemuhotplugtestdomains tests: qemu: Remove 's390-ccw' machine type from fake capabilities 2021-09-23 14:48:51 +02:00
qemumemlockdata
qemumigparamsdata
qemumigrationcookiexmldata qemu: migration: Don't transfer 'allowReboot' flag 2021-08-25 15:32:44 +02:00
qemumonitorjsondata
qemusecuritydata
qemustatusxml2xmldata storage_source: Add flag storing whether threshold event was registered with index 2021-07-12 16:34:07 +02:00
qemuvhostuserdata
qemuxml2argvdata qemuBuildUSBControllerDevStr: Split out validation of USB controller 2021-10-12 10:26:05 +02:00
qemuxml2xmloutdata qemuxml2xmltest: Convert all acpi-hotplug control related tests to DO_TEST_CAPS_LATEST 2021-10-12 09:41:22 +02:00
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata
storagepoolcapsschemadata
storagepoolschemadata
storagepoolxml2argvdata
storagepoolxml2xmlin
storagepoolxml2xmlout
storagevolschemadata
storagevolxml2argvdata storage: add support for QCOW2 cluster_size option 2021-05-21 14:00:43 +02:00
storagevolxml2xmlin storage: add support for QCOW2 cluster_size option 2021-05-21 14:00:43 +02:00
storagevolxml2xmlout storage: add support for QCOW2 cluster_size option 2021-05-21 14:00:43 +02:00
sysinfodata
vboxsnapshotxmldata
vircaps2xmldata whitespace clean-ups 2021-07-15 14:50:48 +02:00
vircgroupdata
virconfdata
virfilecachedata
virfiledata
virhostcpudata
virjsondata
virmacmaptestdata
virnetdaemondata
virnetdevopenvswitchdata
virnetdevtestdata/sys/class/net
virnetworkportxml2xmldata
virnwfilterbindingxml2xmldata
virpcitestdata
virresctrldata
virscsidata
virstoragetestdata virstoragetest: Reinstate testing of images without 'backing_fmt' 2021-09-09 15:29:00 +02:00
virstorageutildata storage: gluster: Use volume name as "<name>" field in the XML 2017-04-04 16:36:15 +02:00
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata tests: Add missing test cases to vmx2xmltest 2021-08-19 13:32:10 +02:00
xlconfigdata
xmconfigdata
xml2vmxdata
.valgrind.supp
bhyveargv2xmlmock.c
bhyveargv2xmltest.c tests: bhyve: use bitwise shift when defining flags 2021-09-08 15:13:12 +02:00
bhyvexml2argvmock.c
bhyvexml2argvtest.c
bhyvexml2xmltest.c
commandhelper.c
commandtest.c Remove static analysis assertions 2021-05-24 20:26:20 +02:00
cputest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
domaincapsmock.c virhostmem: Introduce virHostMemGetTHPSize() 2021-10-01 10:58:27 +02:00
domaincapstest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
domainconftest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
esxutilstest.c tests: esxutils: reduce variable scope in testConvertWindows1252ToUTF8 2021-09-08 15:31:01 +02:00
eventtest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
fchosttest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
fdstreamtest.c tests: use VIR_AUTOCLOSE 2021-09-09 18:06:13 +02:00
genericxml2xmltest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
interfacexml2xmltest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
libvirtd-fail
libvirtd-pool
libxlmock.c tests: libxl: Mock xs_open and xs_close 2021-05-18 09:09:37 -06:00
libxlxml2domconfigtest.c tests: use g_auto instead of virDomainFree 2021-09-09 18:06:13 +02:00
lxcconf2xmltest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
lxcxml2xmltest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
meson.build build: only build virnetdevopenvswitchtest on Linux 2021-08-20 16:43:19 +02:00
metadatatest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
networkxml2conftest.c tests: network: use g_autofree 2021-09-09 18:06:13 +02:00
networkxml2firewalltest.c tests: network: use g_autofree 2021-09-09 18:06:13 +02:00
networkxml2xmltest.c tests: network: use g_autofree 2021-09-09 18:06:13 +02:00
networkxml2xmlupdatetest.c tests: network: use g_autofree 2021-09-09 18:06:13 +02:00
nodedevmdevctltest.c nodedev: Add tests for mdevctl autostart command 2021-09-14 14:24:07 -05:00
nodedevxml2xmltest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
nsslinktest.c
nssmock.c
nsstest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
nwfilterebiptablestest.c tests: nwfilter: remove pointless labels 2021-09-09 18:06:13 +02:00
nwfilterxml2firewalltest.c tests: nwfilter: use g_autofree 2021-09-09 18:06:13 +02:00
nwfilterxml2xmltest.c tests: nwfilter: use g_autofree 2021-09-09 18:06:13 +02:00
objecteventtest.c
openvzutilstest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
openvzutilstest.conf
permitted_file_access.txt
pkix_asn1_tab.c tests: Replace deprecated ASN1 code 2021-05-18 10:02:24 +02:00
qemuagenttest.c tests: qemu: remove pointless labels 2021-09-09 18:06:13 +02:00
qemublocktest.c qemu: Simplify qemuDomainSecretInfo 2021-09-22 14:53:56 +02:00
qemucapabilitiestest.c
qemucaps2xmlmock.c
qemucaps2xmltest.c tests: use g_auto in testQemuGetCaps 2021-08-20 15:19:35 +02:00
qemucapsfixreplies
qemucapsprobe.c
qemucapsprobemock.c tests: qemu: remove pointless labels 2021-09-09 18:06:13 +02:00
qemucommandutiltest.c tests: qemu: remove pointless labels 2021-09-09 18:06:13 +02:00
qemucpumock.c
qemudomaincheckpointxml2xmltest.c
qemudomainsnapshotxml2xmltest.c
qemufirmwaretest.c
qemuhotplugmock.c virDevMapperGetTargets: Use a linked list as return type 2021-09-21 12:25:42 +02:00
qemuhotplugtest.c qemu: validate: Always assume QEMU_CAPS_SPICE_FILE_XFER_DISABLE 2021-09-24 10:37:01 +02:00
qemumemlocktest.c
qemumigparamstest.c
qemumigrationcookiexmltest.c test: Drop unused @cfg from qemu*test 2021-08-26 09:16:44 +02:00
qemumonitorjsontest.c tests: qemu: remove pointless labels 2021-09-09 18:06:13 +02:00
qemumonitortestutils.c tests: qemu: remove pointless labels 2021-09-09 18:06:13 +02:00
qemumonitortestutils.h
qemusecuritymock.c qemusecuritymock: init_hash: virHashNew cannot return NULL 2021-07-23 11:30:31 +02:00
qemusecuritytest.c qemusecuritytest: Honour EXIT_AM_SKIP 2021-05-18 13:18:05 +02:00
qemusecuritytest.h
qemustatusxml2xmltest.c test: Drop unused @cfg from qemu*test 2021-08-26 09:16:44 +02:00
qemuvhostusertest.c
qemuxml2argvmock.c qemuxml2argvmock: drop virQEMUCapsGetKVMSupportsSecureGuest 2021-07-22 15:55:26 +02:00
qemuxml2argvtest.c qemuxml2argvtest: Convert 'panic' test cases to DO_TEST_CAPS_LATEST 2021-10-12 10:26:00 +02:00
qemuxml2xmltest.c qemuxml2xmltest: Remove 'panic-isa' case 2021-10-12 10:26:00 +02:00
scsihosttest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
seclabeltest.c tests: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0 2021-05-17 09:25:32 +02:00
secretxml2xmltest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
securityselinuxhelper.c securityselinuxhelper: Fix retval of setcon_raw() and security_disable() 2021-05-10 13:32:43 +02:00
securityselinuxlabeltest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
securityselinuxtest.c conf: Store SCSI bus length in virDomainDef 2021-08-16 14:22:38 +02:00
shunloadhelper.c
shunloadtest.c
sockettest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
ssh.c
storagebackendsheepdogtest.c
storagepoolcapstest.c tests: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0 2021-05-17 09:25:32 +02:00
storagepoolxml2argvtest.c
storagepoolxml2xmltest.c
storagevolxml2argvtest.c storage: add support for QCOW2 cluster_size option 2021-05-21 14:00:43 +02:00
storagevolxml2xmltest.c storage: add support for QCOW2 cluster_size option 2021-05-21 14:00:43 +02:00
sysinfotest.c
test-lib.sh
testutils.c tests: use g_auto instead of virDomainFree 2021-09-09 18:06:13 +02:00
testutils.h testutils: Introduce helper for stripping bulilddir/srcdir from test outputs 2021-09-09 15:29:00 +02:00
testutilshostcpus.h
testutilslxc.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
testutilslxc.h
testutilsqemu.c tests: qemu: Remove 's390-ccw' machine type from fake capabilities 2021-09-23 14:48:51 +02:00
testutilsqemu.h tests: qemuxml2*test: switch to virTestRunLog 2021-08-23 14:43:57 +02:00
testutilsqemuschema.c
testutilsqemuschema.h
testutilsxen.c
testutilsxen.h
utiltest.c
vboxsnapshotxmltest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
viralloctest.c
virauthconfigtest.c
virbitmaptest.c tests: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0 2021-05-17 09:25:32 +02:00
virbuftest.c
vircaps2xmltest.c vircaps2xmltest: Introduce HMAT test case 2021-06-15 11:03:56 +02:00
vircapstest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
vircgroupmock.c
vircgrouptest.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virconftest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
vircryptotest.c util: Remove use of virCryptoHaveCipher(VIR_CRYPTO_CIPHER_AES256CBC) 2021-09-22 14:53:55 +02:00
virdriverconnvalidatetest.c
virdrivermoduletest.c Drop magic comments for coverity 2021-05-24 20:26:20 +02:00
virendiantest.c tests: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0 2021-05-17 09:25:32 +02:00
virerrortest.c
virfilecachemock.c
virfilecachetest.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virfilemock.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virfiletest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virfilewrapper.c util: alloc: Completely replace VIR_APPEND_ELEMENT_QUIET by VIR_APPEND_ELEMENT 2021-08-06 08:53:25 +02:00
virfilewrapper.h
virfirewallmock.c
virfirewalltest.c lib: Use $PROG instead of $PROG_PATH 2021-09-21 14:09:44 +02:00
virgdbusmock.c
virhostcpumock.c
virhostcputest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virhostdevmock.c
virhostdevtest.c
virhostidmock.c
viridentitytest.c util: generate a persistent system token 2021-05-13 11:07:16 +01:00
viriscsitest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virjsontest.c
virkeycodetest.c
virkmodtest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virlockspacetest.c
virlogtest.c tests: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0 2021-05-17 09:25:32 +02:00
virmacmaptest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virmigtest.c
virmock.h
virmockstathelpers.c
virnetdaemonmock.c
virnetdaemontest.c tests: use g_autoptr instead of virJSONValueFree 2021-09-09 18:06:13 +02:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c tests: virnetdev*: remove unnecessary labels 2021-08-20 16:43:20 +02:00
virnetdevmock.c
virnetdevopenvswitchtest.c tests: virnetdev*: remove unnecessary labels 2021-08-20 16:43:20 +02:00
virnetdevtest.c
virnetmessagetest.c
virnetserverclientmock.c
virnetserverclienttest.c
virnetsockettest.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virnettlscontexttest.c
virnettlshelpers.c tests: use VIR_AUTOCLOSE 2021-09-09 18:06:13 +02:00
virnettlshelpers.h
virnettlssessiontest.c
virnetworkportxml2xmltest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virnumamock.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virnwfilterbindingxml2xmltest.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virpcimock.c tests: use VIR_AUTOCLOSE 2021-09-09 18:06:13 +02:00
virpcitest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virpolkittest.c
virportallocatormock.c
virportallocatortest.c
virprocessmock.c
virrandommock.c
virresctrltest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virrotatingfiletest.c tests: use VIR_AUTOCLOSE 2021-09-09 18:06:13 +02:00
virschematest.c
virscsitest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virsh-auth
virsh-auth.xml
virsh-checkpoint
virsh-cpuset
virsh-define-dev-segfault
virsh-int-overflow
virsh-optparse tests: Update expected output of virsh-optparse 2021-06-02 16:43:57 +02:00
virsh-output
virsh-output-commands
virsh-output.out
virsh-read-bufsiz
virsh-read-non-seekable
virsh-schedinfo
virsh-self-test
virsh-snapshot
virsh-start
virsh-undefine
virsh-uriprecedence
virsh-vcpupin
virshtest.c tests: Test IOThread related functions for test driver 2021-09-23 13:41:39 +02:00
virstoragetest.c Fix typos 2021-09-17 14:28:00 +02:00
virstorageutiltest.c
virstringtest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virsystemdtest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virt-aa-helper-test
virt-admin-self-test
virtestmock.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virtimetest.c
virtypedparamtest.c
viruritest.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virusbmock.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virusbtest.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
vmwarevertest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
vmx2xmltest.c tests: vmx: remove pointless labels 2021-09-09 18:06:13 +02:00
vshtabletest.c tests: vshtabletest: remove pointless labels 2021-09-09 18:06:13 +02:00
xlconfigtest.c tests: libxl: remove pointless labels 2021-09-09 18:06:13 +02:00
xmconfigtest.c tests: libxl: remove pointless labels 2021-09-09 18:06:13 +02:00
xml2vmxtest.c tests: vmx: remove pointless labels 2021-09-09 18:06:13 +02:00