kvm_init_vcpu() is called from pc_new_cpu()

Signed-off-by: Gleb Natapov <[email protected]>
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to