aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/helper.c1
1 files changed, 1 insertions, 0 deletions
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)