diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2010-12-06 21:35:25 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-01-12 04:30:41 -0500 |
commit | fb67e14fc90f18250259faf61a269320ea8e4d8f (patch) | |
tree | 4bb294030aa3e43ca5dbf573f39a915452624665 /arch/x86/include | |
parent | 2ec4739ddc889af11d09b3d5ca33687f1f3f1020 (diff) |
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>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index aa1518d794cc..4461429957a9 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
@@ -593,6 +593,7 @@ struct kvm_x86_ops { | |||
593 | struct kvm_arch_async_pf { | 593 | struct kvm_arch_async_pf { |
594 | u32 token; | 594 | u32 token; |
595 | gfn_t gfn; | 595 | gfn_t gfn; |
596 | unsigned long cr3; | ||
596 | bool direct_map; | 597 | bool direct_map; |
597 | }; | 598 | }; |
598 | 599 | ||