summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/guest_memfd_test.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-20KVM: selftests: Add guest_memfd tests for mmap and NUMA policy supportShivank Garg1-0/+98
2025-10-11KVM: selftests: Verify that reads to inaccessible guest_memfd VMAs SIGBUSSean Christopherson1-0/+1
2025-10-11KVM: selftests: Verify that faulting in private guest_memfd memory failsSean Christopherson1-5/+21
2025-10-11KVM: selftests: Add wrapper macro to handle and assert on expected SIGBUSSean Christopherson1-17/+1
2025-10-11KVM: selftests: Isolate the guest_memfd Copy-on-Write negative testcaseSean Christopherson1-3/+9
2025-10-11KVM: selftests: Add wrappers for mmap() and munmap() to assert successSean Christopherson1-14/+7
2025-10-11KVM: selftests: Add test coverage for guest_memfd without GUEST_MEMFD_FLAG_MMAPAckerley Tng1-11/+16
2025-10-11KVM: selftests: Create a new guest_memfd for each testcaseSean Christopherson1-15/+16
2025-10-11KVM: selftests: Stash the host page size in a global in the guest_memfd testSean Christopherson1-19/+18
2025-10-11KVM: guest_memfd: Add INIT_SHARED flag, reject user page faults if not setSean Christopherson1-3/+12
2025-10-11KVM: Rework KVM_CAP_GUEST_MEMFD_MMAP into KVM_CAP_GUEST_MEMFD_FLAGSSean Christopherson1-7/+6
2025-08-27KVM: selftests: Add guest_memfd testcase to fault-in on !mmap()'d memorySean Christopherson1-0/+64
2025-08-27KVM: selftests: guest_memfd mmap() test when mmap is supportedFuad Tabba1-22/+139
2025-08-27KVM: selftests: Do not use hardcoded page sizes in guest_memfd testFuad Tabba1-5/+6
2024-11-05KVM: selftests: fix unintentional noop test in guest_memfd_test.cPatrick Roy1-1/+1
2024-04-29Revert "kvm: selftests: move base kvm_util.h declarations to kvm_util_base.h"Sean Christopherson1-1/+1
2024-04-29KVM: selftests: Define _GNU_SOURCE for all selftests codeSean Christopherson1-2/+0
2024-03-06KVM: selftests: Explicitly close guest_memfd files in some gmem testsDongli Zhang1-0/+3
2023-11-21selftests/kvm: fix compilation on non-x86_64 platformsPaolo Bonzini1-2/+0
2023-11-14KVM: selftests: Add a memory region subtest to validate invalid flagsSean Christopherson1-8/+1
2023-11-14KVM: selftests: Add basic selftest for guest_memfd()Chao Peng1-0/+207