diff options
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r-- | virt/kvm/kvm_main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 04401e17c758..786a3ae373b0 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -842,6 +842,9 @@ static struct kvm *kvm_create_vm(void) | |||
842 | 842 | ||
843 | if (IS_ERR(kvm)) | 843 | if (IS_ERR(kvm)) |
844 | goto out; | 844 | goto out; |
845 | #ifdef CONFIG_HAVE_KVM_IRQCHIP | ||
846 | INIT_HLIST_HEAD(&kvm->mask_notifier_list); | ||
847 | #endif | ||
845 | 848 | ||
846 | #ifdef KVM_COALESCED_MMIO_PAGE_OFFSET | 849 | #ifdef KVM_COALESCED_MMIO_PAGE_OFFSET |
847 | page = alloc_page(GFP_KERNEL | __GFP_ZERO); | 850 | page = alloc_page(GFP_KERNEL | __GFP_ZERO); |