diff options
author | Binbin Wu <[email protected]> | 2023-09-13 20:42:17 +0800 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-11-28 17:54:04 -0800 |
commit | 2c49db455ee27c72a680c9e4fad1c12433902ee3 (patch) | |
tree | 1a6c9b247b3fd1282324250d4426f5724525c940 /tools/perf/scripts/python | |
parent | a130066f74008858ac425b7497d231742474a0ea (diff) |
KVM: x86: Add & use kvm_vcpu_is_legal_cr3() to check CR3's legality
Add and use kvm_vcpu_is_legal_cr3() to check CR3's legality to provide
a clear distinction between CR3 and GPA checks. This will allow exempting
bits from kvm_vcpu_is_legal_cr3() without affecting general GPA checks,
e.g. for upcoming features that will use high bits in CR3 for feature
enabling.
No functional change intended.
Signed-off-by: Binbin Wu <[email protected]>
Tested-by: Xuelian Guo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions