diff options
author | Pavel Dovgalyuk | 2021-10-28 13:48:05 +0200 |
---|---|---|
committer | Richard Henderson | 2021-10-29 05:55:07 +0200 |
commit | 9f660c077b53f58792b6fa6a45b2c3eb1e25b716 (patch) | |
tree | fed811078ff9cb38ef2bb19735d88f978982adb2 /scripts/qemu-binfmt-conf.sh | |
parent | tcg/optimize: Propagate sign info for shifting (diff) | |
download | qemu-9f660c077b53f58792b6fa6a45b2c3eb1e25b716.tar.gz qemu-9f660c077b53f58792b6fa6a45b2c3eb1e25b716.tar.xz qemu-9f660c077b53f58792b6fa6a45b2c3eb1e25b716.zip |
softmmu: fix watchpoint processing in icount mode
Watchpoint processing code restores vCPU state twice:
in tb_check_watchpoint and in cpu_loop_exit_restore/cpu_restore_state.
Normally it does not affect anything, but in icount mode instruction
counter is incremented twice and becomes incorrect.
This patch eliminates unneeded CPU state restore.
Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <163542168516.2127597.8781375223437124644.stgit@pasha-ThinkPad-X280>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/qemu-binfmt-conf.sh')
0 files changed, 0 insertions, 0 deletions