libvirt/tests
Cole Robinson 79c8bc7d6e conf: Make net model enum compare case insensitive
vbox and vmx drivers do net case insensitive net model comparisons,
so for example 'VMXNET3' and 'vmxnet3' and 'VmxNeT3' in the XML will
translate to the same driver configuration. To convert these drivers
to use net model enum, we will need to do case insensitive comparisons
as well.

Essentially we implement virEnumToString, but with case insensitive
comparison. XML will always be formatted with the enum model string
we track internally, but we will accept any case insensitive variant.

Acked-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2019-04-16 13:11:08 -04:00
..
bhyveargv2xmldata
bhyvexml2argvdata bhyve: implement ignore unknown MSRs feature 2019-02-24 13:20:51 +04:00
bhyvexml2xmloutdata bhyve: implement ignore unknown MSRs feature 2019-02-24 13:20:51 +04:00
capabilityschemadata
commanddata
cputestdata cputest: Add support for MSR features to cpu-cpuid.py 2019-04-12 22:53:40 +02:00
domaincapsschemadata cpu_map: Add Cascadelake-Server CPU model 2019-04-12 22:53:39 +02:00
domainconfdata
domainschemadata
domainsnapshotxml2xmlin
domainsnapshotxml2xmlout
fchostdata/fc_host
genericxml2xmlindata conf: Add support for emulatorsched 2019-04-16 13:46:17 +02:00
genericxml2xmloutdata conf: Add support for emulatorsched 2019-04-16 13:46:17 +02:00
interfaceschemadata
libxlxml2domconfigdata libxl: Add support for max_grant_frames 2019-03-13 12:06:52 -06:00
lxcconf2xmldata conf: Avoid formatting empty <capabilities> element 2019-03-06 15:53:53 +01:00
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata network: add netmask to dhcp range of dnsmasq conf file for IPv4 2019-02-21 13:06:16 -05:00
networkxml2firewalldata util: move virtual network firwall rules into private chains 2019-01-29 13:37:11 +00:00
networkxml2xmlin network: allow configuring firewalld zone for virtual network bridge device 2019-02-01 12:57:13 -05:00
networkxml2xmlout network: allow configuring firewalld zone for virtual network bridge device 2019-02-01 12:57:13 -05:00
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevschemadata xml: nodedev: make pci capability class element optional 2019-03-22 12:59:56 +03:00
nssdata nss: Introduce libvirt-guest module 2016-12-06 13:34:00 +01:00
nwfilterxml2firewalldata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuagentdata
qemuargv2xmldata
qemublocktestdata/xml2json
qemucapabilitiesdata qemu_capabilities: Introduce QEMU_CAPS_OVERCOMMIT 2019-04-12 13:42:39 +02:00
qemucaps2xmloutdata tests: Unify qemucaps2xml output files 2019-02-05 17:15:05 +01:00
qemufirmwaredata qemufirmwaretest: Test qemuFirmwareFetchConfigs() 2019-03-12 15:29:44 +01:00
qemuhotplugtestcpus
qemuhotplugtestdevices qemuhotplugtest: Test guestfwd attach and detach 2019-02-14 09:22:17 +01:00
qemuhotplugtestdomains qemuhotplugtest: Test guestfwd attach and detach 2019-02-14 09:22:17 +01:00
qemumemlockdata
qemumigparamsdata
qemumonitorjsondata
qemustatusxml2xmldata conf: Parse and format 'backingStore' for disk <mirror> 2019-04-03 11:58:09 +02:00
qemuxml2argvdata conf: Make net model enum compare case insensitive 2019-04-16 13:11:08 -04:00
qemuxml2xmloutdata tests: Add several net model passthrough tests 2019-04-16 13:11:08 -04:00
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata
sexpr2xmldata libxl: Add implicit xenbus controller 2019-03-13 12:06:52 -06:00
storagepoolcapsschemadata caps: drop requiredSourceElements from storage pool capabilities 2019-03-07 12:01:09 +01:00
storagepoolschemadata
storagepoolxml2argvdata storage: Add storage pool namespace options to fs and netfs command lines 2019-01-29 19:16:19 -05:00
storagepoolxml2xmlin storage: optional 'refresh' elemement on pool 2019-03-19 16:46:21 +01:00
storagepoolxml2xmlout storage: optional 'refresh' elemement on pool 2019-03-19 16:46:21 +01:00
storagevolschemadata
storagevolxml2argvdata
storagevolxml2xmlin
storagevolxml2xmlout conf: Remove volOptions for VIR_STORAGE_POOL_SHEEPDOG 2019-03-06 11:12:48 -05:00
sysinfodata
vboxsnapshotxmldata
vircaps2xmldata
vircgroupdata
virconfdata
virfilecachedata
virfiledata virfile: added GPFS as shared fs 2019-02-26 11:41:18 +01:00
virhostcpudata
virjsondata virjsontest: switch DO_TEST_PARSE_FILE to use output files 2019-04-03 14:44:32 +02:00
virmacmaptestdata
virnetdaemondata
virnetdevtestdata/sys/class/net
virnwfilterbindingxml2xmldata
virpcitestdata
virresctrldata
virscsidata
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata vmx: convert firmware config for autoselection 2019-04-15 20:03:55 -04:00
xlconfigdata tests: Add several net model passthrough tests 2019-04-16 13:11:08 -04:00
xmconfigdata tests: Add several net model passthrough tests 2019-04-16 13:11:08 -04:00
xml2sexprdata tests: Add several net model passthrough tests 2019-04-16 13:11:08 -04:00
xml2vmxdata vmx: write firmware back from autoselection 2019-04-15 20:03:55 -04:00
.valgrind.supp
bhyveargv2xmlmock.c
bhyveargv2xmltest.c
bhyvexml2argvmock.c
bhyvexml2argvtest.c bhyve: implement ignore unknown MSRs feature 2019-02-24 13:20:51 +04:00
bhyvexml2xmltest.c bhyve: implement ignore unknown MSRs feature 2019-02-24 13:20:51 +04:00
check-file-access.pl
commandhelper.c
commandtest.c
cputest.c cputest: Add data for Intel(R) Xeon(R) Platinum 8268 CPU 2019-04-12 22:53:39 +02:00
domaincapsmock.c tests: domcaps: Remove dependency on libxl PVUSB support 2019-02-11 17:40:44 -05:00
domaincapstest.c tests: Fix MinGW build for domaincapstest 2019-04-10 16:08:13 +02:00
domainconftest.c
domainsnapshotxml2xmltest.c snapshot: Drop virDomainSnapshotDef.current 2019-03-22 01:15:20 -05:00
esxutilstest.c
eventtest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
fchosttest.c
fdstreamtest.c
file_access_whitelist.txt
genericxml2xmltest.c conf: Add support for emulatorsched 2019-04-16 13:46:17 +02:00
group-qemu-caps.pl Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
interfacexml2xmltest.c
libvirtd-fail
libvirtd-pool
libxlmock.c tests: Rename virmocklibxl.c -> libxlmock.c 2019-02-11 17:40:44 -05:00
libxlxml2domconfigtest.c tests: Stop looking for abs_top_srcdir in the environment 2019-03-14 10:05:25 +01:00
lxcconf2xmltest.c
lxcxml2xmltest.c
Makefile.am domain capabilities: Expose firmware auto selection feature 2019-04-10 13:58:51 +02:00
metadatatest.c conf: fix title and description for virDomainSetMetadata API 2019-03-08 14:59:20 +01:00
networkxml2conftest.c network: set mtu as a DHCP option when specified 2019-01-31 17:45:41 +01:00
networkxml2firewalltest.c tests: Stop looking for abs_top_srcdir in the environment 2019-03-14 10:05:25 +01:00
networkxml2xmltest.c network: set mtu as a DHCP option when specified 2019-01-31 17:45:41 +01:00
networkxml2xmlupdatetest.c
nodedevxml2xmltest.c
nsslinktest.c
nssmock.c
nsstest.c
nwfilterebiptablestest.c
nwfilterxml2firewalltest.c tests: Stop looking for abs_top_srcdir in the environment 2019-03-14 10:05:25 +01:00
nwfilterxml2xmltest.c
objecteventtest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
objectlocking.ml
oomtrace.pl
openvzutilstest.c
openvzutilstest.conf
pkix_asn1_tab.c
qemuagenttest.c
qemuargv2xmltest.c
qemublocktest.c conf: Replace virDomainDiskSourceParse by virDomainStorageSourceParse 2019-04-03 11:58:09 +02:00
qemucapabilitiestest.c tests: Document how to add new replies files 2019-03-18 15:49:47 +01:00
qemucaps2xmlmock.c
qemucaps2xmltest.c tests: Use testQemuCapsIterate() 2019-03-13 11:07:12 +01:00
qemucapsfixreplies
qemucapsprobe.c
qemucapsprobemock.c
qemucommandutiltest.c
qemucpumock.c
qemufirmwaretest.c qemu_firmware: Introduce qemuFirmwareGetSupported 2019-04-10 13:58:30 +02:00
qemuhotplugtest.c test: replace calls to individual detach functions with one call to main detach 2019-03-26 11:05:03 -04:00
qemumemlocktest.c tests: Stop looking for abs_top_srcdir in the environment 2019-03-14 10:05:25 +01:00
qemumigparamstest.c
qemumonitorjsontest.c qemu: do not set wait:false for client sockets 2019-04-16 12:52:03 +02:00
qemumonitortestutils.c
qemumonitortestutils.h
qemusecuritymock.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
qemusecuritytest.c
qemusecuritytest.h
qemuxml2argvmock.c conf: Add virDomainNetIsVirtioModel 2019-01-24 18:59:38 -05:00
qemuxml2argvtest.c tests: Add several net model passthrough tests 2019-04-16 13:11:08 -04:00
qemuxml2xmltest.c tests: Add several net model passthrough tests 2019-04-16 13:11:08 -04:00
scsihosttest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
seclabeltest.c
secretxml2xmltest.c
securityselinuxhelper.c
securityselinuxlabeltest.c
securityselinuxtest.c
sexpr2xmltest.c
shunloadhelper.c
shunloadtest.c
sockettest.c
ssh.c
storagebackendsheepdogtest.c tests: Use VIR_AUTOFREE for various storage tests 2019-02-12 08:51:23 -05:00
storagepoolcapstest.c tests: use VIR_AUTOUNREF in storagepoolcapstest 2019-03-07 12:12:11 +01:00
storagepoolxml2argvtest.c tests: Fix memory leak in testCompareXMLToArgvFiles 2019-02-12 13:11:36 -05:00
storagepoolxml2xmltest.c storage: optional 'refresh' elemement on pool 2019-03-19 16:46:21 +01:00
storagevolxml2argvtest.c tests: Use VIR_AUTOFREE for various storage tests 2019-02-12 08:51:23 -05:00
storagevolxml2xmltest.c tests: Use VIR_AUTOFREE for various storage tests 2019-02-12 08:51:23 -05:00
sysinfotest.c
test-lib.sh tests: Avoid writing into $HOME during virsh-snapshot 2019-04-04 09:35:40 -05:00
test-wrap-argv.pl
testutils.c tests: Don't use TEST_DRIVER_DIR in virTestCaptureProgramExecChild() 2019-03-14 10:05:21 +01:00
testutils.h testutils: Explicitly name virTestCompare*() arguments 2019-02-20 15:54:41 +01:00
testutilshostcpus.h
testutilslxc.c
testutilslxc.h
testutilsqemu.c qemu: Don't cache microcode version 2019-04-15 14:34:49 +02:00
testutilsqemu.h tests: add testQemuGetLatestCaps 2019-04-10 19:12:42 -04:00
testutilsqemuschema.c
testutilsqemuschema.h
testutilsxen.c
testutilsxen.h
utiltest.c
vboxsnapshotxmltest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
viralloctest.c
viratomictest.c
virauthconfigtest.c
virbitmaptest.c
virbuftest.c util: buffer: Use 'size_t' for buffer size variables 2019-04-03 11:58:10 +02:00
vircaps2xmltest.c
vircapstest.c
vircgroupmock.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
vircgrouptest.c
virconftest.c
vircryptotest.c
virdbusmock.c
virdbustest.c
virdeterministichashmock.c
virdrivermoduletest.c
virendiantest.c
virerrortest.c
virfilecachemock.c
virfilecachetest.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
virfilemock.c virfile: added GPFS as shared fs 2019-02-26 11:41:18 +01:00
virfiletest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virfilewrapper.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virfilewrapper.h tests: Turn virFileWrapperAddPrefix to void 2019-03-13 14:15:35 +01:00
virfirewalltest.c util: move all firewalld-specific stuff into its own files 2019-02-01 12:08:37 -05:00
virhashdata.h
virhashtest.c
virhostcpumock.c
virhostcputest.c
virhostdevtest.c
viridentitytest.c
viriscsitest.c
virjsontest.c virjsontest: switch DO_TEST_PARSE_FILE to use output files 2019-04-03 14:44:32 +02:00
virkeycodetest.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virkeyfiletest.c
virkmodtest.c virkmodtest: Don't fail if modprobe doesn't exist 2019-02-14 18:03:10 +01:00
virlockspacetest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virlogtest.c
virmacmaptest.c
virmock.h tests: fix mocking of stat() / lstat() functions 2019-04-03 11:31:38 +01:00
virmockstathelpers.c tests: fix mocking of stat() / lstat() functions 2019-04-03 11:31:38 +01:00
virnetdaemonmock.c
virnetdaemontest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c
virnetdevmock.c
virnetdevtest.c
virnetmessagetest.c
virnetserverclientmock.c
virnetserverclienttest.c
virnetsockettest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virnettlscontexttest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virnettlshelpers.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virnettlshelpers.h
virnettlssessiontest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virnumamock.c
virnwfilterbindingxml2xmltest.c
virpcimock.c tests: fix mocking of stat() / lstat() functions 2019-04-03 11:31:38 +01:00
virpcitest.c
virpolkittest.c util: eliminate duplicate function virDBusMessageRead 2019-04-15 12:47:44 -04:00
virportallocatormock.c
virportallocatortest.c
virrandommock.c
virresctrltest.c
virrotatingfiletest.c
virschematest.c Fix names for abs_top_{src,build}dir variables 2019-03-14 10:05:28 +01:00
virscsitest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virsh-cpuset
virsh-define-dev-segfault
virsh-int-overflow
virsh-optparse
virsh-read-bufsiz
virsh-read-non-seekable
virsh-schedinfo
virsh-self-test
virsh-snapshot tests: Avoid writing into $HOME during virsh-snapshot 2019-04-04 09:35:40 -05:00
virsh-start
virsh-undefine
virsh-uriprecedence tests: Avoid writing into $HOME during virsh-snapshot 2019-04-04 09:35:40 -05:00
virsh-vcpupin
virshtest.c virsh: Treat any command name starting with # as comment 2019-03-25 09:01:53 -05:00
virstoragetest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virstorageutiltest.c tests: Use VIR_AUTOFREE for various storage tests 2019-02-12 08:51:23 -05:00
virstringtest.c
virsystemdtest.c
virt-aa-helper-test virt-aa-helper: generate rules for gl enabled graphics devices 2019-01-23 07:54:58 +01:00
virt-admin-self-test
virtestmock.c tests: fix mocking of stat() / lstat() functions 2019-04-03 11:31:38 +01:00
virtimetest.c
virtypedparamtest.c
viruritest.c
virusbmock.c
virusbtest.c
vmwarevertest.c
vmx2xmltest.c vmx: convert firmware config for autoselection 2019-04-15 20:03:55 -04:00
vshtabletest.c vsh-table: allow empty columns 2019-02-12 10:14:53 +01:00
xlconfigtest.c tests: Add several net model passthrough tests 2019-04-16 13:11:08 -04:00
xmconfigtest.c tests: Add several net model passthrough tests 2019-04-16 13:11:08 -04:00
xml2sexprtest.c tests: Add several net model passthrough tests 2019-04-16 13:11:08 -04:00
xml2vmxtest.c vmx: write firmware back from autoselection 2019-04-15 20:03:55 -04:00