summaryrefslogtreecommitdiffstats
path: root/target-i386
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2010-06-23 08:19:39 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-06-27 19:07:45 +0300
commit052be86bc3ee867ed7345513ee947281b8f0e436 (patch)
treec26fa71786480a16c8fcaa218d63043d26890113 /target-i386
parent94c5f455d3dc2222e0f793928eccf45ab968460e (diff)
downloadhqemu-052be86bc3ee867ed7345513ee947281b8f0e436.zip
hqemu-052be86bc3ee867ed7345513ee947281b8f0e436.tar.gz
x86: Fix INIT processing
This fixes a regression of 0e26b7b892: Reset halted also on INIT. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
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 718394c..e134340 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)
OpenPOWER on IntegriCloud