* [PATCH] don't call kvm_init_vcpu() twice
@ 2009-02-09 12:24 Gleb Natapov
2009-02-09 13:45 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Gleb Natapov @ 2009-02-09 12:24 UTC (permalink / raw)
To: avi; +Cc: kvm
kvm_init_vcpu() is called from pc_new_cpu()
Signed-off-by: Gleb Natapov <gleb@redhat.com>
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.
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-09 13:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-09 12:24 [PATCH] don't call kvm_init_vcpu() twice Gleb Natapov
2009-02-09 13:45 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox