don't halt non-boot CPU if IRQ chip is in kernel
PATCH 1/1 don't halt non-boot CPU if IRQ chip is in kernel
Don't halt non-boot CPU if IRQ chip is in kernel.
Otherwise CPU thread will never enter kernel again and will not process SIPI.
Signed-off-by Gleb Natapov <[email protected]>
qemu/hw/apic.c +1 -1
@@ -469,7 +469,7 @@ static void apic_init_ipi(APICState *s)cpu_reset (s->cpu_env); -if (!(s->apicbase &MSR_IA32_APICBASE_BSP )) +if (!(s->apicbase &MSR_IA32_APICBASE_BSP ) && !qemu_kvm_irqchip_in_kernel ()) s->cpu_env->halted =1 ;if (kvm_enabled () && !qemu_kvm_irqchip_in_kernel ())
--
Gleb.