]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: don't mark spte notrap if reserved bit set
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Wed, 17 Nov 2010 04:11:41 +0000 (12:11 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:29:27 +0000 (11:29 +0200)
commitfbb25e72abf66c8fd485b88ff402adb52c07829a
tree9bd7c6a96f38e8fe925a6cac855e5aaa549985ba
parent02693c17c1e62fbcd3c05f37833b1d73d8cf7a2c
KVM: MMU: don't mark spte notrap if reserved bit set

If reserved bit is set, we need inject the #PF with PFEC.RSVD=1,
but shadow_notrap_nonpresent_pte injects #PF with PFEC.RSVD=0 only

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/paging_tmpl.h