KVM: MMU: fix apf prefault if nested guest is enabled
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Fri, 12 Nov 2010 06:49:55 +0000 (14:49 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:29:14 +0000 (11:29 +0200)
commitc4806acdcec020fe5bbb054ce9dc75aaecaf29dd
tree0fafeeb72efdb8985165fcab0a24ffcc5071653c
parent060c2abe6c5e0f90418baf0a43b48d8d9a5521fb
KVM: MMU: fix apf prefault if nested guest is enabled

If apf is generated in L2 guest and is completed in L1 guest, it will
prefault this apf in L1 guest's mmu context.

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