[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 45/50] target/i386: Exit tb after wrmsr
From: |
Richard Henderson |
Subject: |
[PULL 45/50] target/i386: Exit tb after wrmsr |
Date: |
Wed, 19 May 2021 13:30:45 -0500 |
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>
---
target/i386/tcg/translate.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c
index 9501089861..ef0ba822e1 100644
--- a/target/i386/tcg/translate.c
+++ b/target/i386/tcg/translate.c
@@ -7260,6 +7260,8 @@ static target_ulong disas_insn(DisasContext *s, CPUState
*cpu)
gen_helper_rdmsr(cpu_env);
} else {
gen_helper_wrmsr(cpu_env);
+ gen_jmp_im(s, s->pc - s->cs_base);
+ gen_eob(s);
}
}
break;
--
2.25.1
- [PULL 39/50] target/i386: Cleanup read_crN, write_crN, lmsw, (continued)
- [PULL 39/50] target/i386: Cleanup read_crN, write_crN, lmsw, Richard Henderson, 2021/05/19
- [PULL 34/50] target/i386: Mark some helpers as noreturn, Richard Henderson, 2021/05/19
- [PULL 37/50] target/i386: Remove pc_start argument to gen_svm_check_intercept, Richard Henderson, 2021/05/19
- [PULL 35/50] target/i386: Simplify gen_debug usage, Richard Henderson, 2021/05/19
- [PULL 38/50] target/i386: Remove user stub for cpu_vmexit, Richard Henderson, 2021/05/19
- [PULL 33/50] target/i386: Eliminate SVM helpers for user-only, Richard Henderson, 2021/05/19
- [PULL 40/50] target/i386: Pass env to do_pause and do_hlt, Richard Henderson, 2021/05/19
- [PULL 41/50] target/i386: Move invlpg, hlt, monitor, mwait to sysemu, Richard Henderson, 2021/05/19
- [PULL 42/50] target/i386: Unify invlpg, invlpga, Richard Henderson, 2021/05/19
- [PULL 43/50] target/i386: Inline user cpu_svm_check_intercept_param, Richard Henderson, 2021/05/19
- [PULL 45/50] target/i386: Exit tb after wrmsr,
Richard Henderson <=
- [PULL 44/50] target/i386: Eliminate user stubs for read/write_crN, rd/wrmsr, Richard Henderson, 2021/05/19
- [PULL 48/50] target/i386: Create helper_check_io, Richard Henderson, 2021/05/19
- [PULL 50/50] target/i386: Remove user-only i/o stubs, Richard Henderson, 2021/05/19
- [PULL 47/50] target/i386: Pass in port to gen_check_io, Richard Henderson, 2021/05/19
- [PULL 46/50] target/i386: Tidy gen_check_io, Richard Henderson, 2021/05/19
- [PULL 49/50] target/i386: Move helper_check_io to sysemu, Richard Henderson, 2021/05/19
- Re: [PULL 00/50] target/i386 translate cleanups, no-reply, 2021/05/19
- Re: [PULL 00/50] target/i386 translate cleanups, Peter Maydell, 2021/05/20