]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2(argv|xml)test: Add case for validating proper DIMM slot validation
authorPeter Krempa <pkrempa@redhat.com>
Thu, 22 Jun 2023 11:56:06 +0000 (13:56 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 26 Jun 2023 10:58:24 +0000 (12:58 +0200)
commit91856be29bb38e218c9bfe29ca08a9fef57dc64f
tree462ce4136baa8fa56f5aad426261bda07433ddfa
parente4b4765f4f2b24035402510263021bcf55bbea38
qemuxml2(argv|xml)test: Add case for validating proper DIMM slot validation

Add a config where both DIMM and non-DIMM <memory> devices are used so
that it validates that only DIMMs require memory slots.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvdata/memory-hotplug-multiple.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvdata/memory-hotplug-multiple.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/memory-hotplug-multiple.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c