aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_para.h
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2010-10-14 11:22:51 +0200
committerAvi Kivity <avi@redhat.com>2011-01-12 11:23:14 +0200
commitfd10cde9294f73eeccbc16f3fec1ae6cde7b800c (patch)
tree6d49e440289c783ff1d5c635c57acd07a6b9c147 /arch/x86/include/asm/kvm_para.h
parentKVM: Add PV MSR to enable asynchronous page faults delivery. (diff)
downloadlinux-dev-fd10cde9294f73eeccbc16f3fec1ae6cde7b800c.tar.xz
linux-dev-fd10cde9294f73eeccbc16f3fec1ae6cde7b800c.zip
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 {
__u64 pt_phys;
};
+struct kvm_vcpu_pv_apf_data {
+ __u32 reason;
+ __u8 pad[60];
+ __u32 enabled;
+};
+
#ifdef __KERNEL__
#include <asm/processor.h>