aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_para.h
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2010-10-14 05:22:51 -0400
committerAvi Kivity <avi@redhat.com>2011-01-12 04:23:14 -0500
commitfd10cde9294f73eeccbc16f3fec1ae6cde7b800c (patch)
tree6d49e440289c783ff1d5c635c57acd07a6b9c147 /arch/x86/include/asm/kvm_para.h
parent344d9588a9df06182684168be4f1408b55c7da3e (diff)
KVM paravirt: Add async PF initialization to PV guest.
Enable async PF in a guest if async PF capability is discovered. Acked-by: Rik van Riel <riel@redhat.com> Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_para.h')
-rw-r--r--arch/x86/include/asm/kvm_para.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_para.h b/arch/x86/include/asm/kvm_para.h
index 8662ae0a035c..2315398230d1 100644
--- a/arch/x86/include/asm/kvm_para.h
+++ b/arch/x86/include/asm/kvm_para.h
@@ -65,6 +65,12 @@ struct kvm_mmu_op_release_pt {
65 __u64 pt_phys; 65 __u64 pt_phys;
66}; 66};
67 67
68struct kvm_vcpu_pv_apf_data {
69 __u32 reason;
70 __u8 pad[60];
71 __u32 enabled;
72};
73
68#ifdef __KERNEL__ 74#ifdef __KERNEL__
69#include <asm/processor.h> 75#include <asm/processor.h>
70 76