Skip to contentSkip to conversation

don't call kvm_init_vcpu() twice

PATCH Applied Gleb Natapov 2 participants 2 messages Feb 9, 2009 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 don't call kvm_init_vcpu() twice

kvm_init_vcpu() is called from pc_new_cpu()

qemu/hw/acpi.c +0 -3
index b998225..7ec9161 100644
@@ -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.

Applied
#1 lore raw
Quoted 3 lines · Gleb Natapov

kvm_init_vcpu() is called from pc_new_cpu()

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function