]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: MMU: Only indicate a fetch fault in page fault error code if nx is enabled
authorAvi Kivity <avi@redhat.com>
Tue, 6 Jul 2010 12:40:18 +0000 (15:40 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 03:40:29 +0000 (06:40 +0300)
commitb0eeec29fe7a5b114000f769bd68ffa02652bfb7
tree203f6e2f0191c98d4b5460d90a73fa61d0c41e0d
parent5d55f299f97769130c6cc67896414c988db309ab
KVM: MMU: Only indicate a fetch fault in page fault error code if nx is enabled

Bit 4 of the page fault error code is set only if EFER.NX is set.

Reviewed-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/paging_tmpl.h