[PATCH] don't call kvm_init_vcpu() twice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



kvm_init_vcpu() is called from pc_new_cpu()

Signed-off-by: Gleb Natapov <gleb@xxxxxxxxxx>
diff --git a/qemu/hw/acpi.c b/qemu/hw/acpi.c
index b998225..7ec9161 100644
--- a/qemu/hw/acpi.c
+++ b/qemu/hw/acpi.c
@@ -779,9 +779,6 @@ void qemu_system_cpu_hot_add(int cpu, int state)
             fprintf(stderr, "cpu %d creation failed\n", cpu);
             return;
         }
-#ifdef USE_KVM
-        kvm_init_vcpu(env);
-#endif
     }
 
     qemu_set_irq(pm_state->irq, 1);
--
			Gleb.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux