libvirt/tests
Michal Privoznik 23d4684640 qemu_command: Separate domain memory building into a helper
The qemuBuildMachineCommandLine() function is needlessly long.
Separate out parts that generate memory related arguments into
qemuAppendDomainMemoryMachineParams(). Unfortunately, expected
outputs for some qemuxml2argvdata cases needed to be updated
because the order in which arguments are generated is changed.
But there's no functional change.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2022-08-01 10:36:37 +02:00
..
bhyveargv2xmldata
bhyvefirmwaredata
bhyvexml2argvdata
bhyvexml2xmloutdata
capabilityschemadata
commanddata
cputestdata conf: cpu: Add <signature family=X model=X stepping=X/> 2022-06-16 12:12:45 -04:00
domainbackupxml2xmlin
domainbackupxml2xmlout
domaincapsdata test: domaincaps: Remove old test data 2022-07-11 12:48:27 +02:00
domainconfdata
domainschemadata
fchostdata/fc_host
genericxml2xmlindata tests: Add test for missing network attribute in graphics' listen element 2022-05-04 16:11:43 +02:00
genericxml2xmloutdata
interfaceschemadata
libxlxml2domconfigdata
lxcconf2xmldata
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata network: Generate TFTP config regardless of DHCP 2022-06-01 09:40:40 +02:00
networkxml2firewalldata
networkxml2xmlin network: Generate TFTP config regardless of DHCP 2022-06-01 09:40:40 +02:00
networkxml2xmlout network: Generate TFTP config regardless of DHCP 2022-06-01 09:40:40 +02:00
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevmdevctldata nodedev: add parent_addr to mdev nodedev dumpxml 2022-02-04 17:50:57 +01:00
nodedevschemadata nodedev: add tests for optional device address to css device 2022-05-23 16:32:44 +02:00
nodedevxml2xmlout nodedev: add tests for optional device address to css device 2022-05-23 16:32:44 +02:00
nssdata
nwfilterxml2firewalldata nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
nwfilterxml2xmlin tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
nwfilterxml2xmlout tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
qemuagentdata
qemublocktestdata
qemucapabilitiesdata tests: qemucapabilities: Update test data for the qemu-7.1 cycle on x86_64 2022-07-25 10:50:03 +02:00
qemucaps2xmloutdata
qemudomaincheckpointxml2xmlin
qemudomaincheckpointxml2xmlout
qemudomainsnapshotxml2xmlin
qemudomainsnapshotxml2xmlout
qemufirmwaredata qemu: support firmware descriptor flash 'mode' for optional NVRAM 2022-02-23 18:11:08 +00:00
qemuhotplugtestcpus qemuhotplugtest: Remove tests for legacy cpu hotplug on x86 2021-11-01 16:14:53 +01:00
qemuhotplugtestdevices qemu: support CDROM hotplug cdrom with USB/SCSI bus 2022-07-20 16:53:51 +02:00
qemuhotplugtestdomains qemu: support CDROM hotplug cdrom with USB/SCSI bus 2022-07-20 16:53:51 +02:00
qemumemlockdata
qemumigparamsdata qemumigparamstest: Drop "unsupported" test case 2021-10-22 07:00:44 +02:00
qemumigrationcookiexmldata
qemumonitorjsondata
qemusecuritydata
qemustatusxml2xmldata qemu: Restore async job start timestamp on reconnect 2022-06-07 17:40:20 +02:00
qemuvhostuserdata
qemuxml2argvdata qemu_command: Separate domain memory building into a helper 2022-08-01 10:36:37 +02:00
qemuxml2xmloutdata qemuxml2xmltest: Test memory-hotplug-dimm-addr 2022-08-01 10:36:11 +02:00
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata security_selinux.c: Relabel existing mode="bind" UNIX sockets 2022-07-01 14:51:19 +02:00
storagepoolcapsschemadata
storagepoolschemadata
storagepoolxml2argvdata storagepoolxml2argvtest: Fix output data for 'pool-netfs-protocol-ver' 2022-07-01 16:53:08 +02:00
storagepoolxml2xmlin storage: pool: Allow more intricate nfs protocol versions 2022-07-01 16:15:23 +02:00
storagepoolxml2xmlout storage: pool: Allow more intricate nfs protocol versions 2022-07-01 16:15:23 +02: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
vboxsnapshotxmldata
vircaps2xmldata
vircgroupdata
virconfdata Add suggestions for virt-pki-query-dn usage 2021-11-12 12:37:29 +01:00
virfilecachedata
virfiledata
virhostcpudata
virjsondata
virmacmaptestdata
virnetdaemondata
virnetdevopenvswitchdata
virnetdevtestdata/sys/class/net
virnetworkportxml2xmldata conf: Format managed property of hostdev-pci ports correctly 2022-04-05 13:40:33 +02:00
virnwfilterbindingxml2xmldata
virpcitestdata
virprocessstatdata util: Add virProcessGetStat 2021-11-23 16:43:08 +01:00
virresctrldata
virscsidata
virstoragetestdata
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata
xlconfigdata
xmconfigdata
xml2vmxdata
.valgrind.supp
bhyveargv2xmlmock.c
bhyveargv2xmltest.c
bhyvexml2argvmock.c lib: Drop intermediary return variables 2021-10-25 12:48:46 +02:00
bhyvexml2argvtest.c
bhyvexml2xmltest.c
commandhelper.c
commandtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
cputest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
domaincapsmock.c virhostmem: Introduce virHostMemGetTHPSize() 2021-10-01 10:58:27 +02:00
domaincapstest.c tests: mock swtpm initialization for all qemu tests 2022-06-21 08:23:18 -04:00
domainconftest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
esxutilstest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
eventtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
fchosttest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
fdstreamtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
genericxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
interfacexml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
libvirtd-fail
libvirtd-pool
libxlmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
libxlxml2domconfigtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
lxcconf2xmltest.c
lxcxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
meson.build Fix typos 2022-06-01 09:55:48 +02:00
metadatatest.c
networkxml2conftest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
networkxml2firewalltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
networkxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
networkxml2xmlupdatetest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
nodedevmdevctltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
nodedevxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
nsslinktest.c
nssmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
nsstest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
nwfilterebiptablestest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
nwfilterxml2firewalltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
nwfilterxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
objecteventtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
openvzutilstest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
openvzutilstest.conf src: Use archive.org for dead URLs 2022-05-24 12:19:18 +02:00
permitted_file_access.txt
pkix_asn1_tab.c
qemuagenttest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemublocktest.c tests: Remove unused includes 2022-06-16 06:43:58 +02: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: Remove unused includes 2022-06-16 06:43:58 +02:00
qemucommandutiltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemucpumock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemudomaincheckpointxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemudomainsnapshotxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemufirmwaretest.c qemu: support firmware descriptor flash 'mode' for optional NVRAM 2022-02-23 18:11:08 +00:00
qemuhotplugmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemuhotplugtest.c qemu: support CDROM hotplug cdrom with USB/SCSI bus 2022-07-20 16:53:51 +02:00
qemumemlocktest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemumigparamstest.c qemu_migration: Apply max-postcopy-bandwidth on post-copy resume 2022-07-01 11:28:34 +02:00
qemumigrationcookiexmltest.c qemu_migration: Apply max-postcopy-bandwidth on post-copy resume 2022-07-01 11:28:34 +02:00
qemumonitorjsontest.c qemu: monitor: Remove unused migration property getters/setters 2022-07-15 15:57:10 +02:00
qemumonitortestutils.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemumonitortestutils.h tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemusecuritymock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemusecuritytest.c tests: Rename and reorganize firmware tests 2022-07-01 15:10:10 +02:00
qemusecuritytest.h
qemustatusxml2xmltest.c util: remove virObjectUnref() adapters 2022-07-15 16:44:39 -05:00
qemuvhostusertest.c
qemuxml2argvmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemuxml2argvtest.c conf: Validate virDomainMemoryDef::targetNode 2022-08-01 10:36:15 +02:00
qemuxml2xmltest.c qemuxml2xmltest: Test memory-hotplug-dimm-addr 2022-08-01 10:36:11 +02:00
scsihosttest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
seclabeltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
secretxml2xmltest.c
securityselinuxhelper.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
securityselinuxlabeltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
securityselinuxtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
shunloadhelper.c
shunloadtest.c syntax-check: sc_avoid_write: Don't use blanket file exceptions 2022-02-15 09:32:23 +01:00
sockettest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
ssh.c
storagebackendsheepdogtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
storagepoolcapstest.c
storagepoolxml2argvtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
storagepoolxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
storagevolxml2argvtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
storagevolxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
sysinfotest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
test-lib.sh
testutils.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
testutils.h tests: Remove unused includes 2022-06-16 06:43:58 +02:00
testutilshostcpus.h cpu_ppc64: add support for host-model on POWER10 2022-05-24 14:25:41 -03:00
testutilslxc.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
testutilslxc.h tests: Remove unused includes 2022-06-16 06:43:58 +02:00
testutilsqemu.c tests: mock swtpm initialization for all qemu tests 2022-06-21 08:23:18 -04:00
testutilsqemu.h cpu_ppc64: add support for host-model on POWER10 2022-05-24 14:25:41 -03:00
testutilsqemuschema.c virjson: Change virJSONValueObjectHasKey() signature 2022-08-01 10:24:34 +02: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
utiltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
vboxsnapshotxmltest.c Remove empty cleanup sections 2021-12-13 14:44:01 +01:00
viralloctest.c
virauthconfigtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virbitmaptest.c virBitmapSetBitExpand: Remove return value 2021-12-10 16:36:25 +01:00
virbuftest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
vircaps2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
vircapstest.c testutilsqemu: Remove unused non-x86 fake machine types 2022-01-07 09:25:13 +01:00
vircgroupmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
vircgrouptest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virconftest.c tests: Remove unused includes 2022-06-16 06:43:58 +02: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: Remove unused includes 2022-06-16 06:43:58 +02:00
virdrivermoduletest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virendiantest.c
virerrortest.c
virfilecachemock.c
virfilecachetest.c
virfilemock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virfiletest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virfilewrapper.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virfilewrapper.h
virfirewallmock.c
virfirewalltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virgdbusmock.c
virhostcpumock.c
virhostcputest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virhostdevmock.c
virhostdevtest.c
virhostidmock.c
viridentitytest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
viriscsitest.c
virjsontest.c util: json: Don't copy string in virJSONValueNewString 2021-12-22 13:48:35 +01:00
virkeycodetest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virkmodtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virlockspacetest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virlogtest.c
virmacmaptest.c
virmigtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virmock.h tests: Allow expansion of mocked stat symbols 2022-03-07 10:31:24 +01:00
virmockstathelpers.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnetdaemonmock.c
virnetdaemontest.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c virnetdevbandwidthtest: Test QoS for OVS 2022-07-01 13:04:18 +02:00
virnetdevmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnetdevopenvswitchtest.c virnetdevopenvswitch: unify calculation of ovs and tc 2021-11-01 15:56:47 +01:00
virnetdevtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnetmessagetest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnetserverclientmock.c
virnetserverclienttest.c lib: Drop intermediary return variables 2021-10-25 12:48:46 +02:00
virnetsockettest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnettlscontexttest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnettlshelpers.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
virnettlshelpers.h
virnettlssessiontest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnetworkportxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnumamock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnwfilterbindingxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virpcimock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virpcitest.c Add PCI VPD-related helper functions to virpci 2021-10-21 17:34:04 +01:00
virpcivpdtest.c tests: Fix fd leaks in virpcivpdtest 2022-02-11 15:06:19 +01:00
virpolkittest.c
virportallocatormock.c
virportallocatortest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virprocessmock.c
virprocessstattest.c util: Add virProcessGetStat 2021-11-23 16:43:08 +01:00
virrandommock.c virnettlscontext: Don't set DH parameters ourselves 2022-07-01 13:04:59 +02:00
virresctrltest.c
virrotatingfiletest.c
virschematest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virscsitest.c
virsh-auth
virsh-auth.xml
virsh-checkpoint
virsh-cpuset
virsh-define-dev-segfault
virsh-int-overflow
virsh-optparse
virsh-output
virsh-output-commands
virsh-output.out
virsh-read-bufsiz
virsh-read-non-seekable
virsh-schedinfo
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-uriprecedence
virsh-vcpupin
virshtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virstoragetest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virstorageutiltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virstringtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virsystemdtest.c virsystemdtest: remove unused 'demo_socket_path' 2022-02-17 14:17:04 +01:00
virt-aa-helper-test
virt-admin-self-test
virtestmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virtimetest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virtypedparamtest.c lib: Don't set variable to NULL after VIR_FREE() 2022-02-01 17:37:06 +01:00
viruritest.c tests: remove pointless label in testURIParse 2022-06-22 12:28:29 +02:00
virusbmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virusbtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
vmwarevertest.c
vmx2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
vshtabletest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
xlconfigtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
xmconfigtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
xml2vmxtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00