diff options
| author | Sean Christopherson <[email protected]> | 2022-10-06 00:45:06 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2022-11-16 16:58:54 -0800 |
| commit | 816c54b74742ac1a74a74de9355ab982d11e63e6 (patch) | |
| tree | ebdc737fea2b997eaa17af564ebf4aa3b9678132 /tools/testing/selftests/kvm/lib/kvm_util.c | |
| parent | 9a6418dacd241169df9e0eeefc7980b3f9b40794 (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