]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2*test: Fix hugepages-default-system-size tests
authorJiri Denemark <jdenemar@redhat.com>
Mon, 13 Jan 2020 08:39:22 +0000 (09:39 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 13 Jan 2020 11:52:06 +0000 (12:52 +0100)
commit37d51dda5d154bf733a60183c0043c84ae3bcd8a
treed7fa08f4228f251ee050fd8b18f186d3e61ebb54
parenta2e15167f91f845e17b6a68f65651e39aa16fab3
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>
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c