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)
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

Simple merge