From: Jan Kiszka Date: Wed, 23 Jun 2010 06:19:39 +0000 (+0200) Subject: x86: Fix INIT processing X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=052be86bc3ee867ed7345513ee947281b8f0e436;p=qemu.git x86: Fix INIT processing This fixes a regression of 0e26b7b892: Reset halted also on INIT. Signed-off-by: Jan Kiszka Signed-off-by: Blue Swirl --- diff --git a/target-i386/helper.c b/target-i386/helper.c index 718394cfc9..e13434097f 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -1151,6 +1151,7 @@ void do_cpu_init(CPUState *env) cpu_reset(env); env->interrupt_request = sipi; apic_init_reset(env->apic_state); + env->halted = !cpu_is_bsp(env); } void do_cpu_sipi(CPUState *env)