From 052be86bc3ee867ed7345513ee947281b8f0e436 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 23 Jun 2010 08:19:39 +0200 Subject: [PATCH] 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 --- target-i386/helper.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.5