diff options
author | Gleb Natapov <gleb@redhat.com> | 2009-09-13 11:19:51 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-05 09:32:53 -0500 |
commit | 19a2223feaabc6c574af57c8c5f1c21a60e8d194 (patch) | |
tree | 19dc25d0cad85d2e6b0eb71348d35e42a1527a32 /hw | |
parent | f4e94dfefb63e57e96c19da4cebf787e1d2726b6 (diff) |
set correct CS seg limit and flags on sipi
TCG works with incorrect values somehow.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -516,7 +516,7 @@ void apic_sipi(CPUState *env) env->eip = 0; cpu_x86_load_seg_cache(env, R_CS, s->sipi_vector << 8, s->sipi_vector << 12, - 0xffff, 0); + env->segs[R_CS].limit, env->segs[R_CS].flags); env->halted = 0; s->wait_for_sipi = 0; } |