diff options
| author | Sean Christopherson <seanjc@google.com> | 2022-10-06 00:45:07 +0000 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2022-11-16 16:58:54 -0800 |
| commit | 751f280017b697d98936618a21ca3defdc03a9f4 (patch) | |
| tree | 9f7c50420ca691d2f6356d9e2d164a9f84dbbc75 /tools/perf/scripts/python | |
| parent | 816c54b74742ac1a74a74de9355ab982d11e63e6 (diff) | |
KVM: selftests: Drop reserved bit checks from PTE accessor
Drop the reserved bit checks from the helper to retrieve a PTE, there's
very little value in sanity checking the constructed page tables as any
will quickly be noticed in the form of an unexpected #PF. The checks
also place unnecessary restrictions on the usage of the helpers, e.g. if
a test _wanted_ to set reserved bits for whatever reason.
Removing the NX check in particular allows for the removal of the @vcpu
param, which will in turn allow the helper to be reused nearly verbatim
for addr_gva2gpa().
Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20221006004512.666529-3-seanjc@google.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
