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:06 +0000
committerSean Christopherson <[email protected]>2022-11-16 16:58:54 -0800
commit816c54b74742ac1a74a74de9355ab982d11e63e6 (patch)
treeebdc737fea2b997eaa17af564ebf4aa3b9678132 /tools/testing/selftests/kvm/lib/kvm_util.c
parent9a6418dacd241169df9e0eeefc7980b3f9b40794 (diff)
KVM: selftests: Drop helpers to read/write page table entries
Drop vm_{g,s}et_page_table_entry() and instead expose the "inner" helper (was _vm_get_page_table_entry()) that returns a _pointer_ to the PTE, i.e. let tests directly modify PTEs instead of bouncing through helpers that just make life difficult. Opportunsitically use BIT_ULL() in emulator_error_test, and use the MAXPHYADDR define to set the "rogue" GPA bit instead of open coding the same value. No functional change intended. 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