aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r--include/linux/kvm_host.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index aacc5449f586..3060bdc35ffe 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -110,6 +110,7 @@ struct kvm_memory_slot {
110 110
111struct kvm_kernel_irq_routing_entry { 111struct kvm_kernel_irq_routing_entry {
112 u32 gsi; 112 u32 gsi;
113 u32 type;
113 int (*set)(struct kvm_kernel_irq_routing_entry *e, 114 int (*set)(struct kvm_kernel_irq_routing_entry *e,
114 struct kvm *kvm, int level); 115 struct kvm *kvm, int level);
115 union { 116 union {
@@ -125,6 +126,7 @@ struct kvm_kernel_irq_routing_entry {
125struct kvm { 126struct kvm {
126 struct mutex lock; /* protects the vcpus array and APIC accesses */ 127 struct mutex lock; /* protects the vcpus array and APIC accesses */
127 spinlock_t mmu_lock; 128 spinlock_t mmu_lock;
129 spinlock_t requests_lock;
128 struct rw_semaphore slots_lock; 130 struct rw_semaphore slots_lock;
129 struct mm_struct *mm; /* userspace tied to this vm */ 131 struct mm_struct *mm; /* userspace tied to this vm */
130 int nmemslots; 132 int nmemslots;