1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00
libvirt/tests
Michal Privoznik f9db6f3ab6 qemu: Allow prealloc for virtio-mem-pci
There are a some scenarios in which we want to prealloc guest
memory (e.g. when requested in domain XML, when using hugepages,
etc.). With 'regular' <memory/> models (like 'dimm', 'nvdimm' or
'virtio-pmem') or regular guest memory it is corresponding
memory-backend-* object that ends up with .prealloc attribute
set. And that's desired because neither of those devices can
change its size on the fly. However, with virtio-mem model things
are a bit different. While one can set .prealloc attribute on
corresponding memory-backend-* object it doesn't make much sense,
because virtio-mem can inflate/deflate on the fly, i.e. change
how big of a portion of the memory-backend-* object is exposed to
the guest. For instance, from a say 4GiB module only a half can
be exposed to the guest. Therefore, it doesn't make much sense to
preallocate whole 4GiB and keep them allocated. But we still want
the part exposed to the guest preallocated (when conditions
described at the beginning are met).

Having said that, with new enough QEMU the virtio-mem-pci device
gained new attribute ".prealloc" which instructs the device to
talk to the memory backend object and allocate only the requested
portion of memory.

Now, that our algorithm for setting .prealloc was isolated in a
single function, the function can be called when constructing cmd
line for virtio-mem-pci device.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2022-01-26 12:41:27 +01:00
..
bhyveargv2xmldata bhyve: parse: Set video device model when parsing bhyve commandline 2020-10-19 11:50:49 +02:00
bhyvefirmwaredata bhyve: add <os firmware='efi'> support 2021-03-20 07:53:45 +04:00
bhyvexml2argvdata bhyvexml2argvtest: use virCommandToStringFull to strip command path 2021-04-21 14:20:03 +02:00
bhyvexml2xmloutdata bhyve: auto allocate nmdm console paths 2021-02-08 18:50:47 +04:00
capabilityschemadata tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
commanddata virCommandToStringFull: Improve linebreaking behaviour 2021-04-12 15:55:10 +02:00
cputestdata cpu-data.py: Automatically adjust command line for kcpuid 2021-05-07 18:02:48 +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 tests: update QEMU and domain ppc64 capabilities for qemu 7.0 2022-01-20 17:29:14 +01:00
domainconfdata domainconfdata/getfilesystem.xml: Remove <init> element 2020-10-20 09:05:10 +02:00
domainschemadata tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
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 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: do not test dnsmasq older than 2.67 2021-12-15 15:28:17 +01:00
networkxml2firewalldata util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
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 Add PCI VPD Capability Support 2021-10-21 17:34:04 +01:00
nodedevxml2xmlout Add PCI VPD Capability Support 2021-10-21 17:34:04 +01:00
nssdata nss: handle leases with infinite expiry time 2021-01-04 15:33:31 +01:00
nwfilterxml2firewalldata nwfilterxml2firewalldata: Use internal wrapping to wrap output files 2021-04-12 15:55:10 +02:00
nwfilterxml2xmlin nwfilterxml2xmltest: Rename cases with XMLs not conforming to schema 2020-10-20 09:05:10 +02:00
nwfilterxml2xmlout
qemuagentdata tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
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: Introduce QEMU_CAPS_DEVICE_VIRTIO_MEM_PCI_PREALLOC 2022-01-26 12:41:27 +01:00
qemucaps2xmloutdata tests: add capabilities data files for sparc emulator target 2020-11-20 12:09:51 +00:00
qemudomaincheckpointxml2xmlin
qemudomaincheckpointxml2xmlout qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
qemudomainsnapshotxml2xmlin conf: snapshot: Add support for <metadata_cache> 2021-01-08 15:27:00 +01:00
qemudomainsnapshotxml2xmlout qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
qemufirmwaredata
qemuhotplugtestcpus qemuhotplugtest: Remove tests for legacy cpu hotplug on x86 2021-11-01 16:14:53 +01:00
qemuhotplugtestdevices qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplugtestdomains Add the port allocation logic for isa-serial devices. 2022-01-14 15:41:57 +01:00
qemumemlockdata
qemumigparamsdata qemumigparamstest: Drop "unsupported" test case 2021-10-22 07:00:44 +02:00
qemumigrationcookiexmldata qemu: migration: Don't transfer 'allowReboot' flag 2021-08-25 15:32:44 +02:00
qemumonitorjsondata tests: validate parsing of CPUs with dies > 1 2020-03-16 16:00:27 +00:00
qemusecuritydata qemusecuritytest: Test SELinux too 2020-11-06 09:14:01 +01:00
qemustatusxml2xmldata qemustatusxml2xmldata: backup-pull: Add private data for scratch image 2021-11-04 10:55:28 +01:00
qemuvhostuserdata qemu: add vhost-user helpers 2019-09-24 13:19:08 -04:00
qemuxml2argvdata qemu: Allow prealloc for virtio-mem-pci 2022-01-26 12:41:27 +01:00
qemuxml2xmloutdata tests: Add HVF test cases 2022-01-25 16:54:44 +01:00
secretxml2xmlin schema: secret: Relax requirements for usage name 2021-01-08 09:18:21 +01:00
securityselinuxhelperdata
securityselinuxlabeldata securityselinuxlabeldata: Purge unneeded versioned machine type 2022-01-07 09:25:14 +01:00
storagepoolcapsschemadata storage: add vmfs filesystem type 2019-12-20 14:31:08 +01:00
storagepoolschemadata
storagepoolxml2argvdata storagepoolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02: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 storage: Introduce 'extended_l2' feature for storage volume 2021-12-21 13:23:09 +01:00
storagevolxml2xmlin storage: Introduce 'extended_l2' feature for storage volume 2021-12-21 13:23:09 +01:00
storagevolxml2xmlout storage: Introduce 'extended_l2' feature for storage volume 2021-12-21 13:23:09 +01:00
sysinfodata virsysinfo: Parse OEM strings 2020-06-10 14:00:38 +02:00
vboxsnapshotxmldata
vircaps2xmldata whitespace clean-ups 2021-07-15 14:50:48 +02:00
vircgroupdata tests: add cgroup nested tests 2021-02-10 13:37:12 +01:00
virconfdata Add suggestions for virt-pki-query-dn usage 2021-11-12 12:37:29 +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 tests: fix misc spelling errors reported by codespell 2020-10-05 10:28:43 +01:00
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
virprocessstatdata util: Add virProcessGetStat 2021-11-23 16:43:08 +01:00
virresctrldata
virscsidata
virstoragetestdata virstoragetest: Reinstate testing of images without 'backing_fmt' 2021-09-09 15:29:00 +02:00
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata tests: Add missing test cases to vmx2xmltest 2021-08-19 13:32:10 +02:00
xlconfigdata xen: recognize device_model_override 2020-12-07 15:38:31 -07:00
xmconfigdata xen: recognize device_model_override 2020-12-07 15:38:31 -07:00
xml2vmxdata XML <source bridge='VMnet0'/> update in <interface type='bridge'/> 2021-04-01 13:36:35 +02:00
.valgrind.supp tests: valgrind.supp: suppress g_type_register_static leaks 2020-03-09 15:46:42 +01:00
bhyveargv2xmlmock.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
bhyveargv2xmltest.c tests: bhyve: use bitwise shift when defining flags 2021-09-08 15:13:12 +02:00
bhyvexml2argvmock.c lib: Drop intermediary return variables 2021-10-25 12:48:46 +02:00
bhyvexml2argvtest.c bhyvexml2argvtest: use virCommandToStringFull to strip command path 2021-04-21 14:20:03 +02:00
bhyvexml2xmltest.c bhyve: auto allocate nmdm console paths 2021-02-08 18:50:47 +04:00
commandhelper.c commandhelper: printCwd: Print result directly instead of copying it 2021-03-05 15:33:34 +01:00
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 'qemucapsfixreplies' 2022-01-03 13:14:43 +01:00
domainconftest.c lib: Drop needless one line labels 2021-11-22 12:39:59 +01: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 virDomainBackupDefFormat: Propagate private data callbacks 2021-11-04 10:55:28 +01:00
interfacexml2xmltest.c lib: Introduce and use g_autoptr() for virInterfaceDef 2021-11-02 10:52:18 +01: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 virdnsmasq: Lookup DNSMASQ in PATH 2022-01-18 15:19:47 +01:00
metadatatest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
networkxml2conftest.c networkxml2conftest: Check if capabilities were created successfully 2022-01-18 16:18:54 +01:00
networkxml2firewalltest.c util: remove currentBackend from virfirewall.c 2021-12-13 13:37:31 -05: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 Add PCI VPD Capability Support 2021-10-21 17:34:04 +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 g_autofree 2021-09-09 18:06:13 +02:00
nwfilterebiptablestest.c util: remove currentBackend from virfirewall.c 2021-12-13 13:37:31 -05:00
nwfilterxml2firewalltest.c util: remove currentBackend from virfirewall.c 2021-12-13 13:37:31 -05:00
nwfilterxml2xmltest.c tests: nwfilter: use g_autofree 2021-09-09 18:06:13 +02:00
objecteventtest.c objecteventtest: Don't overwrite @ret on failure 2021-10-18 12:09:33 +02:00
openvzutilstest.c tests: remove pointless labels 2021-09-09 18:06:13 +02: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 tests: Replace deprecated ASN1 code 2021-05-18 10:02:24 +02:00
qemuagenttest.c tests: Drop cleanup/error labels 2021-11-11 16:16:30 +01:00
qemublocktest.c qemublocktest: Replace virJSONValueObjectCreate by virJSONValueObjectAdd 2021-11-17 12:04:11 +01:00
qemucapabilitiesnumbering.c Fix some typos 2022-01-12 11:43:30 +01:00
qemucapabilitiestest.c Fix some typos 2022-01-12 11:43:30 +01:00
qemucaps2xmlmock.c
qemucaps2xmltest.c Remove empty cleanup sections 2021-12-13 14:44:01 +01:00
qemucapsprobe.c qemu: Invalidate capabilities cache on host cpuid mismatch 2021-11-05 17:12:25 +01:00
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 lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemudomaincheckpointxml2xmltest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemudomainsnapshotxml2xmltest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemufirmwaretest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemuhotplugmock.c util: remove virGetDeviceID 2022-01-19 13:57:59 +01:00
qemuhotplugtest.c tests: Use g_autoptr(qemuMonitorTest) 2021-11-11 16:16:26 +01:00
qemumemlocktest.c tests: qemu: remove unnecessary labels 2020-08-03 07:23:46 +02:00
qemumigparamstest.c tests: Drop cleanup/error labels 2021-11-11 16:16:30 +01:00
qemumigrationcookiexmltest.c testQEMUSchemaValidateCommand: Add possibility for partial QMP validation 2021-10-18 14:00:58 +02:00
qemumonitorjsontest.c qemu: Implement the virDomainSetLaunchSecurityState API 2022-01-04 10:56:00 -07:00
qemumonitortestutils.c tests: Report expected monitor command for simulated commands 2022-01-15 06:33:33 +01:00
qemumonitortestutils.h qemumonitortestutils: Extract parser for the monitor conversation dump file 2022-01-03 13:14:43 +01:00
qemusecuritymock.c Switch away from virHashFree 2021-12-01 13:53:12 +01:00
qemusecuritytest.c qemuxml2argvtest: Remove redundant floppy controller tests 2022-01-07 09:25:13 +01:00
qemusecuritytest.h qemusecuritytest: Store 'notRestored' files in a hash table 2021-02-11 17:05:33 +01:00
qemustatusxml2xmltest.c test: Drop unused @cfg from qemu*test 2021-08-26 09:16:44 +02:00
qemuvhostusertest.c qemuvhostusertest: Base iteration on string lists 2021-02-11 17:05:34 +01:00
qemuxml2argvmock.c lib: Drop intermediary return variables 2021-10-25 12:48:46 +02:00
qemuxml2argvtest.c tests: Add HVF test cases 2022-01-25 16:54:44 +01:00
qemuxml2xmltest.c tests: Add HVF test cases 2022-01-25 16:54:44 +01: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 lib: Use g_autoptr() for virDomainDef 2021-12-03 17:18:26 +01: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: use g_autofree 2021-09-09 18:06:13 +02: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: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0 2021-05-17 09:25:32 +02:00
storagepoolxml2argvtest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
storagepoolxml2xmltest.c conf: add control over COW for storage pool directories 2020-07-23 16:18:09 +01:00
storagevolxml2argvtest.c tests: storagevolxml2argvtest: do not reuse cmd 2021-12-14 16:41:06 +01:00
storagevolxml2xmltest.c storage: add support for QCOW2 cluster_size option 2021-05-21 14:00:43 +02:00
sysinfotest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
test-lib.sh tests: Don't advertise VIR_TEST_EXPENSIVE to users 2020-09-23 11:30:05 +02:00
testutils.c testutils: Terminate usage string with a new line 2022-01-17 16:53:21 +01:00
testutils.h Add a PCI/PCIe device VPD Parser 2021-10-21 17:34:04 +01:00
testutilshostcpus.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
testutilslxc.c testLXCCapsInit: Cleanup 2021-11-08 14:32:32 +01:00
testutilslxc.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
testutilsqemu.c tests: Add macOS support to qemuxml2*test 2022-01-25 16:54:44 +01:00
testutilsqemu.h tests: Add macOS support to qemuxml2*test 2022-01-25 16:54:44 +01:00
testutilsqemuschema.c testQEMUSchemaValidateEnum: Validate deprecated members 2021-11-01 17:37:15 +01:00
testutilsqemuschema.h testQEMUSchemaValidateCommand: Add possibility for partial QMP validation 2021-10-18 14:00:58 +02:00
testutilsxen.c Use g_auto for stealing virCaps 2021-12-13 14:44:01 +01:00
testutilsxen.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
utiltest.c tests: qemu: reduce scope of some variables 2020-08-03 07:23:45 +02:00
vboxsnapshotxmltest.c Remove empty cleanup sections 2021-12-13 14:44:01 +01:00
viralloctest.c Do not check return value of VIR_REALLOC_N 2021-03-22 12:44:18 +01:00
virauthconfigtest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virbitmaptest.c virBitmapSetBitExpand: Remove return value 2021-12-10 16:36:25 +01:00
virbuftest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
vircaps2xmltest.c vircaps2xmltest: Introduce HMAT test case 2021-06-15 11:03:56 +02:00
vircapstest.c testutilsqemu: Remove unused non-x86 fake machine types 2022-01-07 09:25:13 +01:00
vircgroupmock.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
vircgrouptest.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virconftest.c Remove empty cleanup sections 2021-12-13 14:44:01 +01:00
vircryptotest.c util: Remove use of virCryptoHaveCipher(VIR_CRYPTO_CIPHER_AES256CBC) 2021-09-22 14:53:55 +02:00
virdnsmasqmock.c virdnsmasq: Lookup DNSMASQ in PATH 2022-01-18 15:19:47 +01:00
virdriverconnvalidatetest.c tests: add a test for driver.c:virConnectValidateURIPath() 2019-10-11 12:20:08 -04:00
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 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 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 Remove empty cleanup sections 2021-12-13 14:44:01 +01: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 tests: introduce virfirewallmock 2021-04-21 14:18:51 +02:00
virfirewalltest.c util: remove currentBackend from virfirewall.c 2021-12-13 13:37:31 -05:00
virgdbusmock.c tests: introduce virgdbusmock to mock GLib DBus functions 2020-09-17 18:19:56 +02:00
virhostcpumock.c
virhostcputest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virhostdevmock.c tests: Introduce virhostdevmock 2020-05-06 16:24:31 +02:00
virhostdevtest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virhostidmock.c tests: Add mock library for virGetHostname and virGetHostUUID 2020-11-09 12:25:49 +01:00
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 util: json: Don't copy string in virJSONValueNewString 2021-12-22 13:48:35 +01:00
virkeycodetest.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
virkmodtest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virlockspacetest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
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 peer2peer migration: allow connecting to local sockets 2020-09-04 10:20:49 +02:00
virmock.h tests: Fix mock chaining on macOS 2020-11-27 16:28:31 +01:00
virmockstathelpers.c tests: Only mock $INODE64 symbols on x86_64 macOS 2021-02-10 11:03:39 +01:00
virnetdaemonmock.c tests: don't mock the time() function on mingw 2020-07-23 14:58:16 +01:00
virnetdaemontest.c tests/virnetdaemontest.c: testExecRestart: Automatically free virJSONValue-s 2021-12-07 09:00:39 +01:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c tests: virnetdev*: remove unnecessary labels 2021-08-20 16:43:20 +02:00
virnetdevmock.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virnetdevopenvswitchtest.c virnetdevopenvswitch: unify calculation of ovs and tc 2021-11-01 15:56:47 +01:00
virnetdevtest.c tests: remove unneeded cleanup labels 2019-11-19 15:22:43 +01:00
virnetmessagetest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virnetserverclientmock.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virnetserverclienttest.c lib: Drop intermediary return variables 2021-10-25 12:48:46 +02:00
virnetsockettest.c virnetsocket: Don't free virCommand in virNetSocketNewConnectCommand() 2021-10-15 16:03:22 +02:00
virnettlscontexttest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virnettlshelpers.c tests: use VIR_AUTOCLOSE 2021-09-09 18:06:13 +02:00
virnettlshelpers.h lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virnettlssessiontest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virnetworkportxml2xmltest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virnumamock.c virnumamock: Use automatic memory freeing for virBitmap 2021-12-10 16:36:24 +01:00
virnwfilterbindingxml2xmltest.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virpcimock.c lib: Use G_N_ELEMENTS instead of sizeof()/sizeof() 2021-11-03 14:46:54 +01:00
virpcitest.c Add PCI VPD-related helper functions to virpci 2021-10-21 17:34:04 +01:00
virpcivpdtest.c tests: pcivpdtest: check return value of virCreateAnonymousFile 2021-11-23 16:59:36 +01:00
virpolkittest.c tests: fix incorrect free of GVariant in our GLib mock functions 2020-10-02 12:43:15 +02:00
virportallocatormock.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virportallocatortest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virprocessmock.c tests: Mock virProcessGetMaxMemLock() 2021-03-08 22:41:40 +01:00
virprocessstattest.c util: Add virProcessGetStat 2021-11-23 16:43:08 +01:00
virrandommock.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
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 lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virscsitest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virsh-auth tests: Fix flake8 errors in virsh-auth 2021-03-22 12:05:18 +01: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: virsh-checkpoint/snapshot: Mark as expensive 2020-11-23 14:44:39 +01:00
virsh-cpuset
virsh-define-dev-segfault virsh-domain: Add quotes around '%s' formatting domain name 2021-01-06 09:25:07 +01:00
virsh-int-overflow
virsh-optparse tests: Update expected output of virsh-optparse 2021-06-02 16:43:57 +02:00
virsh-output tests: virsh-output: Mark as expensive 2020-11-23 14:44:39 +01:00
virsh-output-commands virsh: Added attach-disk support for network disk 2020-11-23 14:44:39 +01:00
virsh-output.out virsh: Added attach-disk support for network disk 2020-11-23 14:44:39 +01:00
virsh-read-bufsiz virsh-domain: Add quotes around '%s' formatting domain name 2021-01-06 09:25:07 +01:00
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 test: snapshot revert: properly emulate starting CPUs 2021-11-23 11:41:55 +01:00
virsh-start
virsh-undefine virsh-domain: Add quotes around '%s' formatting domain name 2021-01-06 09:25:07 +01:00
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 Use g_autofree instead of VIR_AUTOFREE 2019-10-16 12:06:43 +02:00
virstringtest.c Remove empty cleanup sections 2021-12-13 14:44:01 +01:00
virsystemdtest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +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 tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virtimetest.c tests: virtimetest: Mention GLib version containing fix 2022-01-03 09:39:35 +01:00
virtypedparamtest.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
viruritest.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virusbmock.c lib: Drop intermediary return variables 2021-10-25 12:48:46 +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 lib: Don't check for virCapabilitiesAddGuestDomain() retval 2021-11-01 16:08:26 +01:00
vshtabletest.c vsh-table: Ensure NULL terminated arguments to vshTable*() 2021-12-17 15:05:58 +01: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 lib: Don't check for virCapabilitiesAddGuestDomain() retval 2021-11-01 16:08:26 +01:00