KVM: MMU: abstract invalid guest pte mapping
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Tue, 23 Nov 2010 03:08:42 +0000 (11:08 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:29:49 +0000 (11:29 +0200)
commit407c61c6bd6a51b56d02f8bbad8aadf19db8c7b5
tree47644adc7c216a453b215320d05ce4ee73fb3ea0
parenta4a8e6f76ecf963fa7e4d74b3635655a2033a27b
KVM: MMU: abstract invalid guest pte mapping

Introduce a common function to map invalid gpte

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