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>
master
Gleb Natapov 2009-09-13 11:19:51 +03:00 committed by Anthony Liguori
parent f4e94dfefb
commit 19a2223fea
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}