diff options
author | 2020-07-10 17:48:03 +0200 | |
---|---|---|
committer | 2020-07-10 13:07:28 -0400 | |
commit | 897861479c0640ed93ec82db78f8d839df32c4ac (patch) | |
tree | aa634837e4caa13734f5e25800b727e2955e3787 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: drop superfluous mmu_check_root() from fast_pgd_switch() (diff) | |
download | wireguard-linux-897861479c0640ed93ec82db78f8d839df32c4ac.tar.xz wireguard-linux-897861479c0640ed93ec82db78f8d839df32c4ac.zip |
KVM: x86: Add helper functions for illegal GPA checking and page fault injection
This patch adds two helper functions that will be used to support virtualizing
MAXPHYADDR in both kvm-intel.ko and kvm.ko.
kvm_fixup_and_inject_pf_error() injects a page fault for a user-specified GVA,
while kvm_mmu_is_illegal_gpa() checks whether a GPA exceeds vCPU address limits.
Signed-off-by: Mohammed Gamal <mgamal@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200710154811.418214-2-mgamal@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions