diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-08-11 19:36:43 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-10-12 15:01:55 +0300 |
commit | d0006530576f1c7a49b2010eac7afdcb5a3613ae (patch) | |
tree | 58eb32edc47951d19b07bc854890beeba7bb3b36 /arch/x86/include/asm/kvm_emulate.h | |
parent | 1cf53587c03025885af359da3bd0be091aa34b53 (diff) | |
download | linux-d0006530576f1c7a49b2010eac7afdcb5a3613ae.tar.xz |
KVM: SVM: limit kvm_handle_page_fault to #PF handling
It has always annoyed me a bit how SVM_EXIT_NPF is handled by
pf_interception. This is also the only reason behind the
under-documented need_unprotect argument to kvm_handle_page_fault.
Let NPF go straight to kvm_mmu_page_fault, just like VMX
does in handle_ept_violation and handle_ept_misconfig.
Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_emulate.h')
0 files changed, 0 insertions, 0 deletions