KVM: MMU: return page fault error code from permission_fault
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 Mar 2016 09:08:16 +0000 (10:08 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Mar 2016 15:20:54 +0000 (16:20 +0100)
commitf13577e8aa863cf3b4f17541bc74f8e9b0b40c90
tree927ee29f9622329b17a76c3b67d4007480197957
parente9ad4ec8379ad1ba6f68b8ca1c26b50b5ae0a327
KVM: MMU: return page fault error code from permission_fault

This will help in the implementation of PKRU, where the PK bit of the page
fault error code cannot be computed in advance (unlike I/D, R/W and U/S).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.h
arch/x86/kvm/paging_tmpl.h