commit | d3e328f2cb01f6f09259a5810baae3edf5416076 | [log] [tgz] |
---|---|---|
author | Junaid Shahid <junaids@google.com> | Wed Dec 21 20:29:32 2016 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Jan 27 15:46:40 2017 +0100 |
tree | 31891cea71837f04ce0cde26826b2054c60ef906 | |
parent | d162f30a7cebe9731fd331419b3a14089d0b41e3 [diff] |
kvm: x86: mmu: Verify that restored PTE has needed perms in fast page fault Before fast page fault restores an access track PTE back to a regular PTE, it now also verifies that the restored PTE would grant the necessary permissions for the faulting access to succeed. If not, it falls back to the slow page fault path. Signed-off-by: Junaid Shahid <junaids@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>