]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: add shared hugetlbfs backing source type
authorAxel Rasmussen <axelrasmussen@google.com>
Wed, 19 May 2021 20:03:39 +0000 (13:03 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 27 May 2021 11:45:57 +0000 (07:45 -0400)
commita858aa5c5e90780a6f8afda370dc5774baea7269
tree6e681d6e34d9b056ddd09381b8d877b670ed2807
parent7a3a368993531767ed53e012acd2d7abf1122ff7
KVM: selftests: add shared hugetlbfs backing source type

This lets us run the demand paging test on top of a shared
hugetlbfs-backed area. The "shared" is key, as this allows us to
exercise userfaultfd minor faults on hugetlbfs.

Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Message-Id: <20210519200339.829146-11-axelrasmussen@google.com>
Reviewed-by: Ben Gardon <bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/demand_paging_test.c
tools/testing/selftests/kvm/include/test_util.h
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/lib/test_util.c