KVM: MMU: retry #PF for softmmu

Retry #PF for softmmu only when the current vcpu has the same cr3 as the time
when #PF occurs

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
Xiao Guangrong
2010-12-07 10:35:25 +08:00
committed by Avi Kivity
父節點 2ec4739ddc
當前提交 fb67e14fc9
共有 4 個文件被更改,包括 17 次插入6 次删除

查看文件

@@ -593,6 +593,7 @@ struct kvm_x86_ops {
struct kvm_arch_async_pf {
u32 token;
gfn_t gfn;
unsigned long cr3;
bool direct_map;
};