linux/tools/testing/selftests/kvm/lib
Andrew Jones 0f55b67e5a KVM: selftests: Don't require THP to run tests
Unless we want to test with THP, then we shouldn't require it to be
configured by the host kernel. Unfortunately, even advising with
MADV_NOHUGEPAGE does require it, so check for THP first in order
to avoid madvise failing with EINVAL.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Message-Id: <20201029201703.102716-2-drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-10-31 10:35:50 -04:00
..
aarch64 selftests: kvm: Uses TEST_FAIL in tests/utilities 2020-03-16 17:59:11 +01:00
s390x KVM: selftests: Use kernel's list instead of homebrewed replacement 2020-04-15 12:08:42 -04:00
x86_64 KVM: selftests: test behavior of unmapped L2 APIC-access address 2020-10-31 10:04:38 -04:00
assert.c KVM: selftests: Use consistent message for test skipping 2020-03-16 17:59:05 +01:00
elf.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
io.c selftests: kvm: Uses TEST_FAIL in tests/utilities 2020-03-16 17:59:11 +01:00
kvm_util_internal.h KVM: selftests: Use kernel's list instead of homebrewed replacement 2020-04-15 12:08:42 -04:00
kvm_util.c KVM: selftests: Don't require THP to run tests 2020-10-31 10:35:50 -04:00
sparsebit.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
test_util.c KVM: selftests: Rework timespec functions and usage 2020-03-18 14:08:56 +01:00