KVM: MMU: abstract some functions to handle fault pfn
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 11 Jul 2011 19:29:38 +0000 (03:29 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Jul 2011 08:50:35 +0000 (11:50 +0300)
commitd7c55201e66e9f702db575c9dfc2d34a7af6cf1f
tree04ed0e93a16fbc7a50ee5a02586ae54cfdf68e39
parentfce92dce79dbf5fff39c7ac2fb149729d79b7a39
KVM: MMU: abstract some functions to handle fault pfn

Introduce handle_abnormal_pfn to handle fault pfn on page fault path,
introduce mmu_invalid_pfn to handle fault pfn on prefetch path

It is the preparing work for mmio page fault support

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