mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
qemuxml2*test: Fix hugepages-default-system-size tests
Commit v5.10.0-269-g62065a6cb5 moved NUMA validation code to domain definition time and appropriately adjusted affected test cases except for hugepages-default-system-size. And since we don't mock virGetSystemPageSizeKB in our tests, hugepages-default-system-size test would fail on architectures (ppc64le) with default page size other than 4KiB. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
a2e15167f9
commit
37d51dda5d
@ -946,7 +946,7 @@ mymain(void)
|
||||
QEMU_CAPS_OBJECT_MEMORY_FILE_DISCARD);
|
||||
DO_TEST("hugepages-default", QEMU_CAPS_OBJECT_MEMORY_FILE);
|
||||
DO_TEST("hugepages-default-2M", QEMU_CAPS_OBJECT_MEMORY_FILE);
|
||||
DO_TEST("hugepages-default-system-size", NONE);
|
||||
DO_TEST("hugepages-default-system-size", QEMU_CAPS_OBJECT_MEMORY_FILE);
|
||||
DO_TEST_PARSE_ERROR("hugepages-default-1G-nodeset-2M", NONE);
|
||||
DO_TEST("hugepages-nodeset", QEMU_CAPS_OBJECT_MEMORY_FILE);
|
||||
DO_TEST_PARSE_ERROR("hugepages-nodeset-nonexist",
|
||||
|
@ -293,7 +293,7 @@ mymain(void)
|
||||
DO_TEST("pages-dimm-discard", NONE);
|
||||
DO_TEST("hugepages-default", QEMU_CAPS_OBJECT_MEMORY_FILE);
|
||||
DO_TEST("hugepages-default-2M", QEMU_CAPS_OBJECT_MEMORY_FILE);
|
||||
DO_TEST("hugepages-default-system-size", NONE);
|
||||
DO_TEST("hugepages-default-system-size", QEMU_CAPS_OBJECT_MEMORY_FILE);
|
||||
DO_TEST("hugepages-nodeset", QEMU_CAPS_OBJECT_MEMORY_FILE);
|
||||
DO_TEST("hugepages-numa-default-2M", QEMU_CAPS_OBJECT_MEMORY_FILE);
|
||||
DO_TEST("hugepages-numa-default-dimm", QEMU_CAPS_OBJECT_MEMORY_FILE);
|
||||
|
Loading…
Reference in New Issue
Block a user