aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>2010-12-06 21:35:25 -0500
committerAvi Kivity <avi@redhat.com>2011-01-12 04:30:41 -0500
commitfb67e14fc90f18250259faf61a269320ea8e4d8f (patch)
tree4bb294030aa3e43ca5dbf573f39a915452624665 /arch/x86/include/asm/kvm_host.h
parent2ec4739ddc889af11d09b3d5ca33687f1f3f1020 (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/asm/kvm_host.h')
-rw-r--r--arch/x86/include/asm/kvm_host.h1
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 aa1518d794c..4461429957a 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 {
593struct kvm_arch_async_pf { 593struct 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