diff options
author | Luc Michel | 2022-02-25 01:52:42 +0100 |
---|---|---|
committer | Richard Henderson | 2022-02-28 19:04:06 +0100 |
commit | 5b7b197c87cefbd24bd1936614fd4e00ccc279ab (patch) | |
tree | 7db1adc3806b5d8482baf480ef4d1f76bf9029ce /tcg/tci/tcg-target.c.inc | |
parent | tcg: Remove dh_alias indirection for dh_typecode (diff) | |
download | qemu-5b7b197c87cefbd24bd1936614fd4e00ccc279ab.tar.gz qemu-5b7b197c87cefbd24bd1936614fd4e00ccc279ab.tar.xz qemu-5b7b197c87cefbd24bd1936614fd4e00ccc279ab.zip |
accel/tcg/cpu-exec: Fix precise single-stepping after interrupt
In some cases, cpu->exit_request can be false after handling the
interrupt, leading to another TB being executed instead of returning
to the main loop.
Fix this by returning true unconditionally when in single-step mode.
Fixes: ba3c35d9c402 ("tcg/cpu-exec: precise single-stepping after an interrupt")
Signed-off-by: Luc Michel <lmichel@kalray.eu>
Message-Id: <20220214132656.11397-1-lmichel@kalray.eu>
[rth: Unlock iothread mutex; simplify indentation]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tci/tcg-target.c.inc')
0 files changed, 0 insertions, 0 deletions