aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/lib/kvm_util.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2022-10-06 00:45:09 +0000
committerSean Christopherson <[email protected]>2022-11-16 16:58:55 -0800
commited0b58fc6f0bdde360c28314e0faedc9a0a6c3de (patch)
tree05719b537fc435e2e554977d6226e50a31e3531e /tools/testing/selftests/kvm/lib/kvm_util.c
parent91add12d384c650d243b8ccdee1f2ddea3c9a85d (diff)
KVM: selftests: Verify parent PTE is PRESENT when getting child PTE
Verify the parent PTE is PRESENT when getting a child via virt_get_pte() so that the helper can be used for getting PTEs/GPAs without losing sanity checks that the walker isn't wandering into the weeds. Signed-off-by: Sean Christopherson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/kvm/lib/kvm_util.c')
0 files changed, 0 insertions, 0 deletions