diff options
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r-- | virt/kvm/kvm_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index d1f9c87daa87..d47e660fb709 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -982,6 +982,7 @@ static struct kvm *kvm_create_vm(void) | |||
982 | kvm_io_bus_init(&kvm->pio_bus); | 982 | kvm_io_bus_init(&kvm->pio_bus); |
983 | kvm_irqfd_init(kvm); | 983 | kvm_irqfd_init(kvm); |
984 | mutex_init(&kvm->lock); | 984 | mutex_init(&kvm->lock); |
985 | mutex_init(&kvm->irq_lock); | ||
985 | kvm_io_bus_init(&kvm->mmio_bus); | 986 | kvm_io_bus_init(&kvm->mmio_bus); |
986 | init_rwsem(&kvm->slots_lock); | 987 | init_rwsem(&kvm->slots_lock); |
987 | atomic_set(&kvm->users_count, 1); | 988 | atomic_set(&kvm->users_count, 1); |