target/i386: Exit tb after wrmsr
At minimum, wrmsr can change efer, which affects HF_LMA. Cc: qemu-stable@nongnu.org Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210514151342.384376-46-richard.henderson@linaro.org>
This commit is contained in:
parent
f7803b7759
commit
244843b757
@ -7260,6 +7260,8 @@ static target_ulong disas_insn(DisasContext *s, CPUState *cpu)
|
|||||||
gen_helper_rdmsr(cpu_env);
|
gen_helper_rdmsr(cpu_env);
|
||||||
} else {
|
} else {
|
||||||
gen_helper_wrmsr(cpu_env);
|
gen_helper_wrmsr(cpu_env);
|
||||||
|
gen_jmp_im(s, s->pc - s->cs_base);
|
||||||
|
gen_eob(s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user