diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2010-06-23 08:19:39 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-06-27 19:07:45 +0300 |
commit | 052be86bc3ee867ed7345513ee947281b8f0e436 (patch) | |
tree | c26fa71786480a16c8fcaa218d63043d26890113 /target-i386/helper.c | |
parent | 94c5f455d3dc2222e0f793928eccf45ab968460e (diff) |
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/helper.c')
-rw-r--r-- | target-i386/helper.c | 1 |
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) |