libvirt/tests
Daniel Henrique Barboza 0ccceaa57c qemu_validate.c: add pSeries NVDIMM size alignment validation
The existing auto-align behavior for pSeries has the idea to
alleviate user configuration of the NVDIMM size, given that the
alignment calculation is not trivial to do (256MiB alignment
of mem->size - mem->label_size value, a.k.a guest area). We
align mem->size down to avoid end of file problems.

The end result is not ideal though. We do not touch the domain
XML, meaning that the XML can report a NVDIMM size 255MiB smaller
than the actual size the guest is seeing. It also adds one more
thing to consider in case the guest is reporting less memory
than declared, since the auto-align is transparent to the
user.

Following Andrea's suggestion in [1], let's instead do an
size alignment validation. If the NVDIMM is unaligned, error out
and suggest a rounded up value. This can be bothersome to users,
but will bring consistency of NVDIMM size between the domain XML
and the guest.

This approach will force existing non-running pSeries guests to
readjust the NVDIMM value in their XMLs, if necessary. No changes
were made for x86 NVDIMM support.

[1] https://www.redhat.com/archives/libvir-list/2020-July/msg01471.html

Suggested-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2020-08-24 18:41:28 +02: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 tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
commanddata tests: commandtest: Make 'test4' checking daemonization more reliable 2020-07-27 15:44:38 +02: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 qemucapabilitiesdata: Add test data for x86_64 for the qemu-5.2 dev cycle 2020-08-24 16:43:22 +02:00
domainconfdata
domainschemadata tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
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 nss: Don't stop parsing on unexpected key 2019-08-09 12:17:19 +02:00
nwfilterxml2firewalldata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuagentdata tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
qemublocktestdata qemu: block: Remove 'active-write' bitmap even if there are no bitmaps to merge 2020-07-21 09:52:59 +02:00
qemucapabilitiesdata qemucapabilitiesdata: Add test data for x86_64 for the qemu-5.2 dev cycle 2020-08-24 16:43:22 +02:00
qemucaps2xmloutdata conf: Refactor storage of guest capabilities 2019-11-13 08:16:04 +01:00
qemudomaincheckpointxml2xmlin backup: Document new XML for checkpoints 2019-07-26 16:48:58 -05:00
qemudomaincheckpointxml2xmlout tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
qemudomainsnapshotxml2xmlin snapshot: Rename qemu domain snapshot test files 2019-07-08 16:10:22 -05:00
qemudomainsnapshotxml2xmlout tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
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: add support for shmem-{plain, doorbell} role 2020-08-03 10:57:47 +02:00
qemuhotplugtestdomains qemu: add support for shmem-{plain, doorbell} role 2020-08-03 10:57:47 +02: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 qemu: add vhost-user helpers 2019-09-24 13:19:08 -04:00
qemuxml2argvdata qemu_validate.c: add pSeries NVDIMM size alignment validation 2020-08-24 18:41:28 +02:00
qemuxml2xmloutdata qemu_validate.c: add pSeries NVDIMM size alignment validation 2020-08-24 18:41:28 +02:00
secretxml2xmlin secret: Add support for usage type vTPM, extend schema and test case 2019-07-26 09:59:27 +01:00
securityselinuxhelperdata
securityselinuxlabeldata
storagepoolcapsschemadata storage: add vmfs filesystem type 2019-12-20 14:31:08 +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 conf: add control over COW for storage pool directories 2020-07-23 16:18:09 +01:00
storagepoolxml2xmlout conf: add control over COW for storage pool directories 2020-07-23 16:18:09 +01:00
storagevolschemadata
storagevolxml2argvdata util: require command args to be non-NULL 2018-12-17 14:43:33 +00:00
storagevolxml2xmlin util: require command args to be non-NULL 2018-12-17 14:43:33 +00:00
storagevolxml2xmlout conf: Remove volOptions for VIR_STORAGE_POOL_SHEEPDOG 2019-03-06 11:12:48 -05:00
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 vircgroupmock: mock virCgroupV2DevicesAvailable 2019-11-15 12:58:43 +01:00
virconfdata rpc: remove use of the term 'whitelist' from RPC code 2020-06-26 15:36:40 +01:00
virfilecachedata
virfiledata virfile: Add Quobyte as a shared fs 2019-07-19 10:52:06 +02:00
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 rpc: avoid unlinking sockets passed in from systemd 2019-07-12 16:55:39 +01:00
virnetdevopenvswitchdata test: Introduce virnetdevopenvswitchtest 2019-07-16 13:42:39 +02:00
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 Xen: Improve parsing of PCI addresses in config converter 2020-08-21 08:08:28 -06:00
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 tests: bhyve: remove unnecessary labels 2020-08-03 07:23:46 +02:00
bhyvexml2argvmock.c qemu/lxc: plumb isolatedPort from config down through bridge attachment 2020-02-20 23:13:15 -05:00
bhyvexml2argvtest.c tests: bhyve: remove unnecessary labels 2020-08-03 07:23:46 +02:00
bhyvexml2xmltest.c tests: bhyve: use g_autofree where possible 2020-08-03 07:23:46 +02:00
commandhelper.c tests: commandtest: Make 'test4' checking daemonization more reliable 2020-07-27 15:44:38 +02:00
commandtest.c tests: commandtest: drop unnecessary labels 2020-08-03 07:23:45 +02:00
cputest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
domaincapsmock.c tests: domcaps: Remove dependency on libxl PVUSB support 2019-02-11 17:40:44 -05:00
domaincapstest.c tests: get rid of 'make check' references 2020-08-17 08:42:47 +02:00
domainconftest.c conf: drop virCapsPtr param from domain parse APIs 2019-12-09 10:17:27 +00:00
esxutilstest.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
eventtest.c tests: fix deadlock in eventtest 2020-02-06 13:41:03 +01:00
fchosttest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
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 tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
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 conf: drop virCapsPtr param from domain formatting APIs 2019-12-09 10:17:27 +00:00
lxcxml2xmltest.c src: switch to use g_setenv/g_unsetenv 2020-01-03 15:42:12 +00:00
meson.build meson: tests: add valgrind test setup 2020-08-03 09:27:06 +02:00
metadatatest.c conf: fix title and description for virDomainSetMetadata API 2019-03-08 14:59:20 +01:00
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 tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
nodedevmdevctltest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
nodedevxml2xmltest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
nsslinktest.c tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
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 tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
objecteventtest.c Include unistd.h where used 2020-02-24 23:15:50 +01:00
openvzutilstest.c tests: fix warning with old GCC about missing struct initializer 2019-12-09 14:46:13 +00:00
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 tests: qemu: use g_autoptr where possible 2020-08-03 07:23:46 +02:00
qemublocktest.c tests: qemublocktest: fix crashing with SIGBUS 2020-08-04 20:19:48 +04:00
qemucapabilitiestest.c tests: get rid of 'make check' references 2020-08-17 08:42:47 +02:00
qemucaps2xmlmock.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
qemucaps2xmltest.c tests: qemu: remove unnecessary labels 2020-08-03 07:23:46 +02:00
qemucapsfixreplies
qemucapsprobe.c qemu: Invalidate capabilities when host CPU changes 2020-05-25 16:10:04 +02:00
qemucapsprobemock.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
qemucommandutiltest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
qemucpumock.c tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
qemudomaincheckpointxml2xmltest.c conf: checkpoint: Add a flag storing whether disk 'size' is valid 2020-07-07 12:58:19 +02:00
qemudomainsnapshotxml2xmltest.c tests: qemu: remove unnecessary labels 2020-08-03 07:23:46 +02: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 tests: qemu: remove unnecessary labels 2020-08-03 07:23:46 +02:00
qemumemlocktest.c tests: qemu: remove unnecessary labels 2020-08-03 07:23:46 +02:00
qemumigparamstest.c qemumigparamstest: Validate output parameters against QMP schema 2020-08-24 16:42:57 +02:00
qemumonitorjsontest.c qemumonitorjsontest: Add a last-resort warning if object-add/device_add are QAPIfied 2020-08-24 13:02:35 +02:00
qemumonitortestutils.c tests: qemu: remove unnecessary labels 2020-08-03 07:23:46 +02:00
qemumonitortestutils.h qemumonitortestutils: Introduce qemuMonitorTestSkipDeprecatedValidation 2020-05-20 08:53:29 +02:00
qemusecuritymock.c tests: qemu: use g_autofree where possible 2020-08-03 07:23:46 +02:00
qemusecuritytest.c tests: qemu: Split NBD and VXHS protocol tests 2020-07-31 10:27:50 +02:00
qemusecuritytest.h qemusecuritymock: Allow some paths to be not restored 2019-07-03 08:36:04 +02:00
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 tests: qemu: use VIR_AUTOSTRINGLIST where possible 2020-08-03 07:23:46 +02:00
qemuxml2xmltest.c qemu: add support for shmem-{plain, doorbell} role 2020-08-03 10:57:47 +02:00
scsihosttest.c testVirFindSCSIHostByPCI: Remove unused 'path_addr' 2020-06-15 10:27:37 +02:00
seclabeltest.c util: replace strerror/strerror_r with g_strerror 2019-10-14 10:54:42 +01:00
secretxml2xmltest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
securityselinuxhelper.c Substitute security_context_t with char * 2020-07-15 14:31:07 +02:00
securityselinuxlabeltest.c meson: remove '.libs' from all relevant paths 2020-08-03 09:27:00 +02:00
securityselinuxtest.c meson: remove '.libs' from all relevant paths 2020-08-03 09:27:00 +02:00
shunloadhelper.c tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
shunloadtest.c meson: remove '.libs' from all relevant paths 2020-08-03 09:27:00 +02:00
sockettest.c tests: Avoid IPv4-translated IPv6 address in sockettest 2019-08-23 11:26:26 +01:00
ssh.c src: remove virFilePrintf in favour of g_fprintf 2020-02-04 14:00:45 +00:00
storagebackendsheepdogtest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
storagepoolcapstest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
storagepoolxml2argvtest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
storagepoolxml2xmltest.c conf: add control over COW for storage pool directories 2020-07-23 16:18:09 +01:00
storagevolxml2argvtest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
storagevolxml2xmltest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
sysinfotest.c virsysinfo: Parse OEM strings 2020-06-10 14:00:38 +02:00
test-lib.sh tests: get rid of 'make check' references 2020-08-17 08:42:47 +02:00
testutils.c meson: tests: built utils static libraries 2020-08-03 09:27:05 +02:00
testutils.h meson: remove '.libs' from all relevant paths 2020-08-03 09:27:00 +02:00
testutilshostcpus.h Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
testutilslxc.c conf: don't use passed in caps in post parse method 2019-12-09 10:15:16 +00:00
testutilslxc.h conf: don't use passed in caps in post parse method 2019-12-09 10:15:16 +00:00
testutilsqemu.c tests: qemu: use g_autofree where possible 2020-08-03 07:23:46 +02:00
testutilsqemu.h qemuxml2argvtest: Add QAPI/QMP schema validation for -blockdev and -netdev 2020-05-20 09:41:58 +02:00
testutilsqemuschema.c testutilsqemuschema: Add template checker for schema entries 2020-08-24 13:02:35 +02:00
testutilsqemuschema.h testutilsqemuschema: Add template checker for schema entries 2020-08-24 13:02:35 +02:00
testutilsxen.c libxl: do not mock virFileMakePath 2020-02-25 12:05:00 +01:00
testutilsxen.h conf: don't use passed in caps in post parse method 2019-12-09 10:15:16 +00:00
utiltest.c tests: qemu: reduce scope of some variables 2020-08-03 07:23:45 +02:00
vboxsnapshotxmltest.c Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02:00
viralloctest.c tests: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
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 Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02:00
vircryptotest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
virdbusmock.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virdbustest.c tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
virdeterministichashmock.c tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
virdriverconnvalidatetest.c tests: add a test for driver.c:virConnectValidateURIPath() 2019-10-11 12:20:08 -04:00
virdrivermoduletest.c Drop UML driver 2018-12-17 17:52:46 +01:00
virendiantest.c tests: remove unneeded cleanup labels 2019-11-19 15:22:43 +01:00
virerrortest.c tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
virfilecachemock.c tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
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 Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02:00
virfilewrapper.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virfilewrapper.h tests: use #pragma once in headers 2019-06-19 17:12:34 +02:00
virfirewalltest.c use g_autoptr() for all usages of virFirewallNew/Free 2020-07-08 16:36:19 -04:00
virhashdata.h tests: use #pragma once in headers 2019-06-19 17:12:34 +02:00
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 meson: remove '.libs' from all relevant paths 2020-08-03 09:27:00 +02:00
viriscsitest.c Use g_strdup instead of ignoring VIR_STRDUP's value 2019-10-21 12:51:55 +02:00
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 tests: Always put a '\n' after each debug print 2019-08-27 15:49:48 +02:00
virmacmaptest.c tests: remove unneeded cleanup labels 2019-11-19 15:22:43 +01:00
virmock.h tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
virmockstathelpers.c meson: tests: virmockstathelpers: replace check for _FILE_OFFSET_BITS 2020-08-03 09:26:36 +02:00
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 tests: Add getuid() to virnetdevbandwidthmock 2019-07-09 15:01:54 +02:00
virnetdevbandwidthtest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
virnetdevmock.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virnetdevopenvswitchtest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virnetdevtest.c tests: remove unneeded cleanup labels 2019-11-19 15:22:43 +01:00
virnetmessagetest.c tests: conditionalize use of SIGPIPE 2020-01-29 14:51:40 +00:00
virnetserverclientmock.c tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
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 tests: use #pragma once in headers 2019-06-19 17:12:34 +02:00
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 tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virnwfilterbindingxml2xmltest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
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 tests: remove unneeded cleanup labels 2019-11-19 15:22:43 +01:00
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 tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
virrandommock.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virresctrltest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virrotatingfiletest.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
virschematest.c tests: schema: test bhyvexml2xmloutdata schemas 2020-08-22 16:40:44 +04: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 tests: Fix virsh-snapshot/checkpoint without readline-devel 2019-08-02 09:44:41 -05:00
virsh-cpuset
virsh-define-dev-segfault tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
virsh-int-overflow
virsh-optparse meson: src/util/virfile: rewrite virFileActivateDirOverrideForProg 2020-08-03 09:26:36 +02:00
virsh-read-bufsiz
virsh-read-non-seekable
virsh-schedinfo meson: src/util/virfile: rewrite virFileActivateDirOverrideForProg 2020-08-03 09:26:36 +02:00
virsh-self-test
virsh-snapshot tests: Fix virsh-snapshot/checkpoint without readline-devel 2019-08-02 09:44:41 -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 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 Use g_autofree instead of VIR_AUTOFREE 2019-10-16 12:06:43 +02:00
virstringtest.c Use g_strfeev instead of virStringFreeList 2020-08-03 15:37:36 +02:00
virsystemdtest.c conf: Move virDomainGenerateMachineName to hypervisor/ 2020-04-07 15:26:19 +02:00
virt-aa-helper-test meson: tests: add test scripts 2020-08-03 09:27:06 +02:00
virt-admin-self-test
virtestmock.c meson: tests: add file access test setup 2020-08-03 09:27:06 +02:00
virtimetest.c tests: conditionalize use of SIGPIPE 2020-01-29 14:51:40 +00:00
virtypedparamtest.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
viruritest.c tests: conditionalize use of SIGPIPE 2020-01-29 14:51:40 +00:00
virusbmock.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virusbtest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
vmwarevertest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
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 Xen: Improve parsing of PCI addresses in config converter 2020-08-21 08:08:28 -06:00
xml2vmxtest.c Add a type attribute on the mac address element 2020-07-13 18:47:44 +02:00