Alex Bennée 1f881ea4a4 replay: stop us hanging in rr_wait_io_event
A lot of the hang I see are when we end up spinning in
rr_wait_io_event for an event that will never come in playback. As a
new check functions which can see if we are in PLAY mode and kick us
us the wait function so the event can be processed.

This fixes most of the failures in replay_kernel.py

Fixes: https://gitlab.com/qemu-project/qemu/-/issues/2013
Cc: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231211091346.14616-12-alex.bennee@linaro.org>
2024-01-08 13:58:59 +00:00
..
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00
2023-11-14 10:42:32 +01:00
2023-08-31 19:46:43 +02:00
2023-09-08 13:08:52 +03:00
2024-01-04 09:52:42 +08:00
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00
2020-11-15 16:44:18 +01:00
2022-09-29 11:40:28 +02:00