Merge remote-tracking branch 'kvm-ppc-paulus/kvm-ppc-next'
[deliverable/linux.git] / virt / kvm / kvm_main.c
index 4171ef3265437ab246ab64c1fb4fb6c0f2cbcc01..a00f8e4045cf96973986ed680bebd8f164ad04a6 100644 (file)
@@ -3807,12 +3807,7 @@ int kvm_init(void *opaque, unsigned vcpu_size, unsigned vcpu_align,
         * kvm_arch_init makes sure there's at most one caller
         * for architectures that support multiple implementations,
         * like intel and amd on x86.
-        * kvm_arch_init must be called before kvm_irqfd_init to avoid creating
-        * conflicts in case kvm is already setup for another implementation.
         */
-       r = kvm_irqfd_init();
-       if (r)
-               goto out_irqfd;
 
        if (!zalloc_cpumask_var(&cpus_hardware_enabled, GFP_KERNEL)) {
                r = -ENOMEM;
@@ -3894,7 +3889,6 @@ out_free_0a:
        free_cpumask_var(cpus_hardware_enabled);
 out_free_0:
        kvm_irqfd_exit();
-out_irqfd:
        kvm_arch_exit();
 out_fail:
        return r;
This page took 0.025849 seconds and 5 git commands to generate.