diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2010-11-12 14:49:55 +0800 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-01-12 11:29:14 +0200 |
commit | c4806acdcec020fe5bbb054ce9dc75aaecaf29dd (patch) | |
tree | 0fafeeb72efdb8985165fcab0a24ffcc5071653c /arch/x86/include | |
parent | 060c2abe6c5e0f90418baf0a43b48d8d9a5521fb (diff) | |
download | kernel_samsung_smdk4412-c4806acdcec020fe5bbb054ce9dc75aaecaf29dd.zip kernel_samsung_smdk4412-c4806acdcec020fe5bbb054ce9dc75aaecaf29dd.tar.gz kernel_samsung_smdk4412-c4806acdcec020fe5bbb054ce9dc75aaecaf29dd.tar.bz2 |
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>
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 116dac5..f1e8d5b 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -600,6 +600,7 @@ struct kvm_x86_ops { struct kvm_arch_async_pf { u32 token; gfn_t gfn; + bool direct_map; }; extern struct kvm_x86_ops *kvm_x86_ops; |