KVM: selftests: aarch64: Add mix of tests into page_fault_test
authorRicardo Koller <ricarkol@google.com>
Mon, 17 Oct 2022 19:58:34 +0000 (19:58 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 10 Nov 2022 19:10:27 +0000 (19:10 +0000)
commitff2b5509e1d252cd18bb1430b5461d5044701559
treefe1aa0b5b1c48c506cea57b6abfda7ee7766f67c
parent45acde40f538a30e759f3b3f4aa5089edf097b2f
KVM: selftests: aarch64: Add mix of tests into page_fault_test

Add some mix of tests into page_fault_test: memory regions with all the
pairwise combinations of read-only, userfaultfd, and dirty-logging.  For
example, writing into a read-only region which has a hole handled with
userfaultfd.

Signed-off-by: Ricardo Koller <ricarkol@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221017195834.2295901-15-ricarkol@google.com
tools/testing/selftests/kvm/aarch64/page_fault_test.c