qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 11/16] replay: stop us hanging in rr_wait_io_event


From: Richard Henderson
Subject: Re: [PATCH v2 11/16] replay: stop us hanging in rr_wait_io_event
Date: Mon, 11 Dec 2023 09:39:01 -0800
User-agent: Mozilla Thunderbird

On 12/11/23 01:13, Alex Bennée wrote:
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
Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
Cc: Pavel Dovgalyuk<pavel.dovgaluk@ispras.ru>

---
v2
   - report failure with replay_sync_error
---
  include/sysemu/replay.h      |  5 +++++
  accel/tcg/tcg-accel-ops-rr.c |  2 +-
  replay/replay.c              | 21 +++++++++++++++++++++
  3 files changed, 27 insertions(+), 1 deletion(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]