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>
This commit is contained in:
parent
f4e94dfefb
commit
19a2223fea
|
@ -516,7 +516,7 @@ void apic_sipi(CPUState *env)
|
||||||
|
|
||||||
env->eip = 0;
|
env->eip = 0;
|
||||||
cpu_x86_load_seg_cache(env, R_CS, s->sipi_vector << 8, s->sipi_vector << 12,
|
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;
|
env->halted = 0;
|
||||||
s->wait_for_sipi = 0;
|
s->wait_for_sipi = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue