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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 19240feefe6f..0c71688b1ee3 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -124,7 +124,6 @@ struct kvm_kernel_irq_routing_entry {
124}; 124};
125 125
126struct kvm { 126struct kvm {
127 struct mutex lock; /* protects the vcpus array and APIC accesses */
128 spinlock_t mmu_lock; 127 spinlock_t mmu_lock;
129 spinlock_t requests_lock; 128 spinlock_t requests_lock;
130 struct rw_semaphore slots_lock; 129 struct rw_semaphore slots_lock;
@@ -134,6 +133,7 @@ struct kvm {
134 KVM_PRIVATE_MEM_SLOTS]; 133 KVM_PRIVATE_MEM_SLOTS];
135 struct kvm_vcpu *vcpus[KVM_MAX_VCPUS]; 134 struct kvm_vcpu *vcpus[KVM_MAX_VCPUS];
136 struct list_head vm_list; 135 struct list_head vm_list;
136 struct mutex lock;
137 struct kvm_io_bus mmio_bus; 137 struct kvm_io_bus mmio_bus;
138 struct kvm_io_bus pio_bus; 138 struct kvm_io_bus pio_bus;
139#ifdef CONFIG_HAVE_KVM_EVENTFD 139#ifdef CONFIG_HAVE_KVM_EVENTFD
@@ -150,6 +150,7 @@ struct kvm {
150 struct kvm_coalesced_mmio_ring *coalesced_mmio_ring; 150 struct kvm_coalesced_mmio_ring *coalesced_mmio_ring;
151#endif 151#endif
152 152
153 struct mutex irq_lock;
153#ifdef CONFIG_HAVE_KVM_IRQCHIP 154#ifdef CONFIG_HAVE_KVM_IRQCHIP
154 struct list_head irq_routing; /* of kvm_kernel_irq_routing_entry */ 155 struct list_head irq_routing; /* of kvm_kernel_irq_routing_entry */
155 struct hlist_head mask_notifier_list; 156 struct hlist_head mask_notifier_list;