From 503efa5f5557d2bb85100325d9cf38ed480b47fa Mon Sep 17 00:00:00 2001 From: Gleb Natapov <gleb@redhat.com> Date: Thu, 12 Feb 2009 09:56:49 +0200 Subject: [PATCH 1/5] don't call kvm_init_vcpu() twice kvm_init_vcpu() is called from pc_new_cpu() commit 5f3e335ba4c0c2a845843878678b0e48d0097b1d Signed-off-by: Gleb Natapov <gleb@redhat.com> Acked-by: Marcelo Tosatti <mtosatti@redhat.com> Acked-by: Glauber Costa <glommer@redhat.com> Bugzilla: 485291 --- qemu/hw/acpi.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/qemu/hw/acpi.c b/qemu/hw/acpi.c index 86d030d..1926b99 100644 --- a/qemu/hw/acpi.c +++ b/qemu/hw/acpi.c @@ -782,9 +782,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); -- 1.6.1