]> Pileus Git - ~andy/linux/blobdiff - include/linux/kvm_host.h
KVM: Make coalesced mmio use a device per zone
[~andy/linux] / include / linux / kvm_host.h
index eabb21a30c34c134c9342d659a3df16a75ee4a47..ff4d4062af9d84fb92dd9f50697fb6d4f260461c 100644 (file)
@@ -63,7 +63,7 @@ extern struct kmem_cache *kvm_vcpu_cache;
  */
 struct kvm_io_bus {
        int                   dev_count;
-#define NR_IOBUS_DEVS 200
+#define NR_IOBUS_DEVS 300
        struct kvm_io_device *devs[NR_IOBUS_DEVS];
 };
 
@@ -256,8 +256,9 @@ struct kvm {
        struct kvm_arch arch;
        atomic_t users_count;
 #ifdef KVM_COALESCED_MMIO_PAGE_OFFSET
-       struct kvm_coalesced_mmio_dev *coalesced_mmio_dev;
        struct kvm_coalesced_mmio_ring *coalesced_mmio_ring;
+       spinlock_t ring_lock;
+       struct list_head coalesced_zones;
 #endif
 
        struct mutex irq_lock;