KVM: x86: Add is_executable_pte()
authorBen Hutchings <ben@decadent.org.uk>
Sat, 19 Oct 2019 17:10:55 +0000 (18:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Nov 2019 09:29:52 +0000 (10:29 +0100)
commit9dc6bc3f22f08099a27c38c68983fbc419e879f3
treecbc8ae471b05401b14d4a5ab3b14ddf4447ecf89
parent515fa37a3e550ac7f291fb295b4e6174b6bbbd85
KVM: x86: Add is_executable_pte()

Extracted from commit d3e328f2cb01 "kvm: x86: mmu: Verify that
restored PTE has needed perms in fast page fault".

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/mmu.c