qemu/replay
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
..
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
replay-audio.c audio: use size_t where makes sense 2019-08-21 09:13:37 +02:00
replay-char.c replay/replay-char: use report_sync_error 2024-01-08 13:58:59 +00:00
replay-debugging.c block: remove AioContext locking 2023-12-21 22:49:27 +01:00
replay-events.c replay: simplify async event processing 2022-06-06 09:26:53 +02:00
replay-input.c ui: add the infrastructure to support MT events 2023-05-28 13:08:25 +04:00
replay-internal.c replay: introduce a central report point for sync errors 2024-01-08 13:58:54 +00:00
replay-internal.h replay: introduce a central report point for sync errors 2024-01-08 13:58:54 +00:00
replay-net.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
replay-random.c replay: record and replay random number sources 2020-01-07 12:08:39 +01:00
replay-snapshot.c replay: introduce a central report point for sync errors 2024-01-08 13:58:54 +00:00
replay-time.c cleanup: Tweak and re-run return_directly.cocci 2022-12-14 16:19:35 +01:00
replay.c replay: stop us hanging in rr_wait_io_event 2024-01-08 13:58:59 +00:00
stubs-system.c replay: Simplify setting replay blockers 2023-02-23 14:10:17 +01:00