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)
commite730b63cc083852551b092e1c93f0ef22c25f220
tree9bd7c6a96f38e8fe925a6cac855e5aaa549985ba
parent49f481720438bbd0138218b0bcb494c3512a454f
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