summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorWanpeng Li <wanpeng.li@hotmail.com>2017-07-13 18:30:40 -0700
committerRadim Krčmář <rkrcmar@redhat.com>2017-07-14 14:25:24 +0200
commit1261bfa326f5e903166498628a1894edce0caabc (patch)
tree363cfde4312a8f9437902f864f74cbd628a406d8 /arch/x86/include
parentcfcd20e5caad6ba552978c16ed8bed7edb0143cf (diff)
downloadop-kernel-dev-1261bfa326f5e903166498628a1894edce0caabc.zip
op-kernel-dev-1261bfa326f5e903166498628a1894edce0caabc.tar.gz
KVM: async_pf: Add L1 guest async_pf #PF vmexit handler
This patch adds the L1 guest async page fault #PF vmexit handler, such by L1 similar to ordinary async page fault. Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com> [Passed insn parameters to kvm_mmu_page_fault().] Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86/include')
-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 8d11ddc..4f20ee6 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -650,6 +650,7 @@ struct kvm_vcpu_arch {
u64 msr_val;
u32 id;
bool send_user_only;
+ u32 host_apf_reason;
} apf;
/* OSVW MSRs (AMD only) */
OpenPOWER on IntegriCloud