libvirt/tests
Bastien Orivel d3aa28925f Add a check attribute on the mac address element
This is only used in the ESX driver where, when set to "no", it will
ignore all the checks libvirt does about the origin of the MAC address
(whether or not it's in a VMWare OUI) and forward the original one to
the ESX server telling it not to check it either.

This allows keeping a deterministic MAC address which can be useful for
licensed software which might dislike changes.

Signed-off-by: Bastien Orivel <bastien.orivel@diateam.net>

VMX conversion parts rewritten to apply on top of previously merged
support for type='generated|static'

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2020-07-23 16:11:39 +01:00
..
bhyveargv2xmldata
bhyvexml2argvdata
bhyvexml2xmloutdata
capabilityschemadata
commanddata util: keep the pidfile locked 2020-03-25 09:04:49 +01:00
cputestdata cpu_map: Add missing AMD SVM features 2020-06-19 21:59:31 +02:00
domainbackupxml2xmlin backup: Allow configuring incremental backup per-disk individually 2020-07-08 08:40:30 +02:00
domainbackupxml2xmlout backup: Allow configuring incremental backup per-disk individually 2020-07-08 08:40:30 +02:00
domaincapsdata cpu_map: Add missing AMD SVM features 2020-06-19 21:59:31 +02:00
domainconfdata
domainschemadata
fchostdata/fc_host
genericxml2xmlindata Add a check attribute on the mac address element 2020-07-23 16:11:39 +01:00
genericxml2xmloutdata tests: fix typo in emulator arch name i686 -> i386 2019-12-13 17:52:10 +00:00
interfaceschemadata
libxlxml2domconfigdata tests: Fix the libxl xml2domconfig test 2020-05-07 17:38:41 -06:00
lxcconf2xmldata lxc: Fix wrong addresses statements for IPv{4, 6} in native network definitions 2020-02-06 15:00:57 +01:00
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata tests: Add tests for <lease/> to cover dnsmasq settings 2020-04-23 10:59:33 +02:00
networkxml2firewalldata network: wire up support for IPv6 NAT rules 2020-06-15 17:10:15 +01:00
networkxml2xmlin conf: add an attribute to turn on NAT for IPv6 virtual networks 2020-06-15 17:10:15 +01:00
networkxml2xmlout conf: add an attribute to turn on NAT for IPv6 virtual networks 2020-06-15 17:10:15 +01:00
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevmdevctldata nodedev: Add testing for 'mdevctl stop' 2020-06-19 10:39:55 +02:00
nodedevschemadata nodedev: Add testing for 'mdevctl start' 2020-06-19 10:39:55 +02:00
nssdata
nwfilterxml2firewalldata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuagentdata
qemublocktestdata qemu: block: Remove 'active-write' bitmap even if there are no bitmaps to merge 2020-07-21 09:52:59 +02:00
qemucapabilitiesdata qemu: caps: Enable QEMU_CAPS_BLOCKDEV_HOSTDEV_SCSI 2020-07-17 07:41:21 +02:00
qemucaps2xmloutdata
qemudomaincheckpointxml2xmlin
qemudomaincheckpointxml2xmlout
qemudomainsnapshotxml2xmlin
qemudomainsnapshotxml2xmlout
qemufirmwaredata qemufirmwaretest: Test qemuFirmwareFetchConfigs() 2019-03-12 15:29:44 +01:00
qemuhotplugtestcpus qemuhotplugtestcpus: Always use 'query-cpus-fast' 2020-03-05 11:31:38 +01:00
qemuhotplugtestdevices qemu: Create multipath targets for PRs 2020-03-12 08:04:40 +01:00
qemuhotplugtestdomains qemu: Create multipath targets for PRs 2020-03-12 08:04:40 +01:00
qemumemlockdata
qemumigparamsdata
qemumonitorjsondata tests: validate parsing of CPUs with dies > 1 2020-03-16 16:00:27 +00:00
qemustatusxml2xmldata qemu: domain: Regenerate hostdev source private data 2020-07-17 07:41:20 +02:00
qemuvhostuserdata
qemuxml2argvdata qemu: caps: Enable QEMU_CAPS_BLOCKDEV_HOSTDEV_SCSI 2020-07-17 07:41:21 +02:00
qemuxml2xmloutdata conf: Parse and format HMAT 2020-07-08 12:05:24 +02:00
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata
storagepoolcapsschemadata storage: add vmfs filesystem type 2019-12-20 14:31:08 +01:00
storagepoolschemadata
storagepoolxml2argvdata
storagepoolxml2xmlin
storagepoolxml2xmlout
storagevolschemadata
storagevolxml2argvdata
storagevolxml2xmlin
storagevolxml2xmlout
sysinfodata virsysinfo: Parse OEM strings 2020-06-10 14:00:38 +02:00
vboxsnapshotxmldata
vircaps2xmldata tests: add host CPU data files for validating die_id 2020-01-16 15:11:55 +00:00
vircgroupdata
virconfdata rpc: remove use of the term 'whitelist' from RPC code 2020-06-26 15:36:40 +01:00
virfilecachedata
virfiledata
virhostcpudata hostcpu: Implement virHostCPUGetSignature for s390 2020-05-25 16:09:58 +02:00
virjsondata jsontest: Add test cases for deflattening of arrays 2020-03-20 09:47:16 +01:00
virmacmaptestdata
virnetdaemondata
virnetdevopenvswitchdata
virnetdevtestdata/sys/class/net
virnetworkportxml2xmldata tests: fix missing test data for network port XML 2020-02-25 15:43:56 +00:00
virnwfilterbindingxml2xmldata
virpcitestdata virpcimock: Introduce NVMe driver and devices 2019-12-17 10:04:43 +01:00
virresctrldata
virscsidata
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata Add a check attribute on the mac address element 2020-07-23 16:11:39 +01:00
xlconfigdata tests: check conversion of passthrough hypervisor feature 2020-04-21 09:22:14 -06:00
xmconfigdata
xml2vmxdata Add a check attribute on the mac address element 2020-07-23 16:11:39 +01:00
.valgrind.supp tests: valgrind.supp: suppress g_type_register_static leaks 2020-03-09 15:46:42 +01:00
bhyveargv2xmlmock.c tests: avoid probing host CPU from bhyve test 2020-01-09 18:05:17 +00:00
bhyveargv2xmltest.c
bhyvexml2argvmock.c qemu/lxc: plumb isolatedPort from config down through bridge attachment 2020-02-20 23:13:15 -05:00
bhyvexml2argvtest.c bhyve: simplify driver caps helpers 2020-02-24 01:52:22 +01:00
bhyvexml2xmltest.c
commandhelper.c tests: commandhelper: change how we detect if running as daemon 2020-07-10 09:40:55 +02:00
commandtest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
cputest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
domaincapsmock.c
domaincapstest.c tests: Fix virQEMUDriverConfigNew() calling with respect to @root 2020-04-07 15:26:10 +02:00
domainconftest.c
esxutilstest.c
eventtest.c tests: fix deadlock in eventtest 2020-02-06 13:41:03 +01:00
fchosttest.c
fdstreamtest.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
genericxml2xmltest.c Add a check attribute on the mac address element 2020-07-23 16:11:39 +01:00
interfacexml2xmltest.c
libvirtd-fail
libvirtd-pool
libxlmock.c tests: libxl: do not run the emulator 2020-02-25 12:05:01 +01:00
libxlxml2domconfigtest.c libxl: Add support for max_event_channels 2020-04-09 15:45:05 -06:00
lxcconf2xmltest.c
lxcxml2xmltest.c src: switch to use g_setenv/g_unsetenv 2020-01-03 15:42:12 +00:00
Makefile.am Makefile: drop undefined LIB_CLOCK_GETTIME 2020-07-10 09:40:06 +02:00
metadatatest.c
networkxml2conftest.c networkxml2xmltest: Complete renaming of @actual 2020-04-23 12:38:01 +02:00
networkxml2firewalltest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
networkxml2xmltest.c conf: add an attribute to turn on NAT for IPv6 virtual networks 2020-06-15 17:10:15 +01:00
networkxml2xmlupdatetest.c
nodedevmdevctltest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
nodedevxml2xmltest.c
nsslinktest.c
nssmock.c tests: use WITH_NSS instead of NSS 2020-07-10 09:40:58 +02:00
nsstest.c tests: use WITH_NSS instead of NSS 2020-07-10 09:40:58 +02:00
nwfilterebiptablestest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
nwfilterxml2firewalltest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
nwfilterxml2xmltest.c
objecteventtest.c Include unistd.h where used 2020-02-24 23:15:50 +01:00
openvzutilstest.c
openvzutilstest.conf
permitted_file_access.txt scripts: remove use of the term 'whitelist' from build helpers 2020-06-26 15:36:40 +01:00
pkix_asn1_tab.c
qemuagenttest.c qemumonitortestutils: Store a string identifying test monitor entry 2020-04-27 08:13:52 +02:00
qemublocktest.c qemuBlockStorageSourceGetBackendProps: Convert boolean arguments to flags 2020-07-17 07:41:20 +02:00
qemucapabilitiestest.c qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
qemucaps2xmlmock.c
qemucaps2xmltest.c Remove redundant usage of WITH_YAJL 2019-12-13 14:57:32 +01:00
qemucapsfixreplies
qemucapsprobe.c qemu: Invalidate capabilities when host CPU changes 2020-05-25 16:10:04 +02:00
qemucapsprobemock.c
qemucommandutiltest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
qemucpumock.c
qemudomaincheckpointxml2xmltest.c conf: checkpoint: Add a flag storing whether disk 'size' is valid 2020-07-07 12:58:19 +02:00
qemudomainsnapshotxml2xmltest.c src: switch to use g_setenv/g_unsetenv 2020-01-03 15:42:12 +00:00
qemufirmwaretest.c src: switch to use g_setenv/g_unsetenv 2020-01-03 15:42:12 +00:00
qemuhotplugmock.c replace g_new() with g_new0() for consistency 2020-07-20 19:08:07 -04:00
qemuhotplugtest.c qemuhotplugtest: Free monitor iff successfully initialized 2020-06-29 12:38:22 +02:00
qemumemlocktest.c Revert "tests: Use qemu:///embed to simplify fakerootdir management" 2020-05-07 22:31:04 +02:00
qemumigparamstest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
qemumonitorjsontest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
qemumonitortestutils.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
qemumonitortestutils.h qemumonitortestutils: Introduce qemuMonitorTestSkipDeprecatedValidation 2020-05-20 08:53:29 +02:00
qemusecuritymock.c
qemusecuritytest.c src: remove virFilePrintf in favour of g_fprintf 2020-02-04 14:00:45 +00:00
qemusecuritytest.h
qemuvhostusertest.c src: switch to use g_setenv/g_unsetenv 2020-01-03 15:42:12 +00:00
qemuxml2argvmock.c src: replace gmtime_r/localtime_r/strftime with GDateTime 2020-01-17 10:02:01 +00:00
qemuxml2argvtest.c qemu: Build HMAT command line 2020-07-08 12:05:24 +02:00
qemuxml2xmltest.c qemu: Build HMAT command line 2020-07-08 12:05:24 +02:00
scsihosttest.c testVirFindSCSIHostByPCI: Remove unused 'path_addr' 2020-06-15 10:27:37 +02:00
seclabeltest.c
secretxml2xmltest.c
securityselinuxhelper.c Substitute security_context_t with char * 2020-07-15 14:31:07 +02:00
securityselinuxlabeltest.c Substitute security_context_t with char * 2020-07-15 14:31:07 +02:00
securityselinuxtest.c Substitute security_context_t with char * 2020-07-15 14:31:07 +02:00
shunloadhelper.c
shunloadtest.c src: remove virFilePrintf in favour of g_fprintf 2020-02-04 14:00:45 +00:00
sockettest.c
ssh.c src: remove virFilePrintf in favour of g_fprintf 2020-02-04 14:00:45 +00:00
storagebackendsheepdogtest.c
storagepoolcapstest.c
storagepoolxml2argvtest.c
storagepoolxml2xmltest.c
storagevolxml2argvtest.c
storagevolxml2xmltest.c
sysinfotest.c virsysinfo: Parse OEM strings 2020-06-10 14:00:38 +02:00
test-lib.sh
testutils.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
testutils.h testutils: remove now unused virTestCaptureProgramOutput 2020-02-11 16:30:18 +01:00
testutilshostcpus.h
testutilslxc.c
testutilslxc.h
testutilsqemu.c qemu: don't continue loading caps if outdated 2020-06-23 17:33:30 +01:00
testutilsqemu.h qemuxml2argvtest: Add QAPI/QMP schema validation for -blockdev and -netdev 2020-05-20 09:41:58 +02:00
testutilsqemuschema.c testutilsqemuschema: Allow loading non-latest schema 2020-05-20 09:41:58 +02:00
testutilsqemuschema.h testutilsqemuschema: Allow loading non-latest schema 2020-05-20 09:41:58 +02:00
testutilsxen.c libxl: do not mock virFileMakePath 2020-02-25 12:05:00 +01:00
testutilsxen.h
utiltest.c util: Introduce a parser for kernel cmdline arguments 2020-06-16 09:43:34 +02:00
vboxsnapshotxmltest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
viralloctest.c
virauthconfigtest.c util: Fix memory leak in virAuthGetCredential 2020-06-16 15:01:05 +02:00
virbitmaptest.c virBitmapNewEmpty: Use g_new0 to allocate and remove error checking 2020-03-20 09:47:16 +01:00
virbuftest.c tests: eliminate unnecessary labels 2020-07-08 16:35:54 -04:00
vircaps2xmltest.c tests: add host CPU data files for validating die_id 2020-01-16 15:11:55 +00:00
vircapstest.c tests: qemu: Unify fake machine types filled in for KVM and TCG caps of x86_64 2020-01-27 14:55:03 +01:00
vircgroupmock.c src: assume sys/sysmacros.h always exists on Linux 2020-02-04 14:00:45 +00:00
vircgrouptest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
virconftest.c
vircryptotest.c
virdbusmock.c
virdbustest.c
virdeterministichashmock.c
virdriverconnvalidatetest.c
virdrivermoduletest.c
virendiantest.c
virerrortest.c
virfilecachemock.c
virfilecachetest.c qemu: don't continue loading caps if outdated 2020-06-23 17:33:30 +01:00
virfilemock.c util: use realpath/g_canonicalize_filename 2020-01-03 15:42:13 +00:00
virfiletest.c Include unistd.h where used 2020-02-24 23:15:50 +01:00
virfilewrapper.c
virfilewrapper.h
virfirewalltest.c use g_autoptr() for all usages of virFirewallNew/Free 2020-07-08 16:36:19 -04:00
virhashdata.h
virhashtest.c tests: hash: Test case for adding duplicate hash entry 2020-01-24 13:45:38 +01:00
virhostcpumock.c
virhostcputest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
virhostdevmock.c tests: Introduce virhostdevmock 2020-05-06 16:24:31 +02:00
virhostdevtest.c tests: Introduce virhostdevmock 2020-05-06 16:24:31 +02:00
viridentitytest.c Substitute security_context_t with char * 2020-07-15 14:31:07 +02:00
viriscsitest.c
virjsontest.c jsontest: Add test cases for deflattening of arrays 2020-03-20 09:47:16 +01:00
virkeycodetest.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
virkmodtest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
virlockspacetest.c src: add virutil.h to more source files for geteuid() compat 2020-02-25 10:02:15 +00:00
virlogtest.c
virmacmaptest.c
virmock.h
virmockstathelpers.c
virnetdaemonmock.c tests: don't mock the time() function on mingw 2020-07-23 14:58:16 +01:00
virnetdaemontest.c tests: switch away from HAVE_SOCKETPAIR 2020-03-19 14:39:38 +01:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
virnetdevmock.c
virnetdevopenvswitchtest.c
virnetdevtest.c
virnetmessagetest.c tests: conditionalize use of SIGPIPE 2020-01-29 14:51:40 +00:00
virnetserverclientmock.c
virnetserverclienttest.c tests: switch away from HAVE_SOCKETPAIR 2020-03-19 14:39:38 +01:00
virnetsockettest.c tests: Minimize variable scope 2020-07-15 12:52:24 +02:00
virnettlscontexttest.c tests: include unistd.h instead of virutil.h 2020-02-24 23:15:49 +01:00
virnettlshelpers.c virnettlshelpers: Update private key 2020-07-01 13:26:04 +02:00
virnettlshelpers.h
virnettlssessiontest.c src: convert all code to use virsocket.h 2020-01-29 14:51:40 +00:00
virnetworkportxml2xmltest.c tests: fix missing test data for network port XML 2020-02-25 15:43:56 +00:00
virnumamock.c
virnwfilterbindingxml2xmltest.c
virpcimock.c src: replace last_component() with g_path_get_basename() 2020-01-03 15:42:13 +00:00
virpcitest.c src: switch to use g_setenv/g_unsetenv 2020-01-03 15:42:12 +00:00
virpolkittest.c
virportallocatormock.c src: convert all code to use virsocket.h 2020-01-29 14:51:40 +00:00
virportallocatortest.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
virprocessmock.c
virrandommock.c
virresctrltest.c
virrotatingfiletest.c
virschematest.c news: Convert to reStructuredText 2020-06-05 16:27:33 +02:00
virscsitest.c Include unistd.h where used 2020-02-24 23:15:50 +01:00
virsh-auth src: fix mixup of stack and heap allocated data in auth callback 2020-03-06 17:02:10 +00:00
virsh-auth.xml src: fix mixup of stack and heap allocated data in auth callback 2020-03-06 17:02:10 +00:00
virsh-checkpoint
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
virsh-start
virsh-undefine
virsh-uriprecedence
virsh-vcpupin
virshtest.c virshtest: use virCommand instead of custom impl 2020-02-11 16:30:18 +01:00
virstoragetest.c conf: Sanitize handling of <auth> and <encryption> placement for disks 2020-05-12 06:55:00 +02:00
virstorageutiltest.c
virstringtest.c gnulib: delete all gnulib integration 2020-02-07 15:03:54 +00:00
virsystemdtest.c conf: Move virDomainGenerateMachineName to hypervisor/ 2020-04-07 15:26:19 +02:00
virt-aa-helper-test
virt-admin-self-test
virtestmock.c src: convert all code to use virsocket.h 2020-01-29 14:51:40 +00:00
virtimetest.c tests: conditionalize use of SIGPIPE 2020-01-29 14:51:40 +00:00
virtypedparamtest.c
viruritest.c tests: conditionalize use of SIGPIPE 2020-01-29 14:51:40 +00:00
virusbmock.c
virusbtest.c
vmwarevertest.c
vmx2xmltest.c vmx: make 'fileName' optional for CD-ROMs 2020-03-19 11:25:33 +01:00
vshtabletest.c src: optionally include xlocale.h header 2020-02-04 14:00:45 +00:00
xlconfigtest.c tests: check conversion of passthrough hypervisor feature 2020-04-21 09:22:14 -06:00
xmconfigtest.c Remove use of variables passed only to 'VIR_FREE' 2020-06-15 10:27:37 +02:00
xml2vmxtest.c Add a type attribute on the mac address element 2020-07-13 18:47:44 +02:00