xemu/accel
Douglas Crosher bfff072c50 tcg: update the cpu running flag in cpu_exec_step_atomic
The cpu_exec_step_atomic() function is called with the cpu->running
clear and proceeds to run target code without setting this flag. If
this target code generates an exception then handle_cpu_signal() will
unnecessarily abort.  For example if atomic code generates a memory
protection fault.

This patch at least sets and clears this running flag, and adds some
assertions to help detect other cases.

Signed-off-by: Douglas Crosher <dtc-ubuntu@scieneer.com>
Message-Id: <a272c656-f7c5-019d-1cc0-499b8f80f2fc@scieneer.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2021-01-22 12:48:01 -10:00
..
kvm accel/kvm: avoid using predefined PAGE_SIZE 2021-01-20 10:46:54 +01:00
qtest accel: move qtest CpusAccel functions to a common location 2020-10-24 07:23:19 +02:00
stubs remove TCG includes from common code 2021-01-02 21:03:36 +01:00
tcg tcg: update the cpu running flag in cpu_exec_step_atomic 2021-01-22 12:48:01 -10:00
xen accel: Add xen CpusAccel using dummy-cpus 2020-10-24 07:23:19 +02:00
Kconfig meson: cleanup Kconfig.host handling 2021-01-02 21:03:36 +01:00
accel.c accel: Introduce the current_accel() wrapper 2020-01-24 20:59:11 +01:00
dummy-cpus.c accel: move qtest CpusAccel functions to a common location 2020-10-24 07:23:19 +02:00
meson.build accel: Add xen CpusAccel using dummy-cpus 2020-10-24 07:23:19 +02:00