qemu/replay
Pavel Dovgalyuk 366a85e4bb replay: fix icount request when replaying clock access
Record/replay provides REPLAY_CLOCK_LOCKED macro to access
the clock when vm_clock_seqlock is locked. This macro is
needed because replay internals operate icount. In locked case
replay use icount_get_raw_locked for icount request, which prevents
excess locking which leads to deadlock. But previously only
record code used *_locked function and replay did not.
Therefore sometimes clock access lead to deadlocks.
This patch fixes clock access for replay too and uses *_locked
icount access function.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Message-Id: <161347990483.1313189.8371838968343494161.stgit@pasha-ThinkPad-X280>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-02-16 17:15:39 +01:00
..
meson.build replay: do not build if TCG is not available 2020-10-22 11:53:54 -04:00
replay-audio.c audio: use size_t where makes sense 2019-08-21 09:13:37 +02:00
replay-char.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
replay-debugging.c migration: wire up support for snapshot device selection 2021-02-08 11:19:51 +00:00
replay-events.c replay: flush rr queue before loading the vmstate 2020-10-06 08:34:49 +02:00
replay-input.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
replay-internal.c replay: fix icount request when replaying clock access 2021-02-16 17:15:39 +01:00
replay-internal.h replay: flush rr queue before loading the vmstate 2020-10-06 08:34:49 +02: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 migration: wire up support for snapshot device selection 2021-02-08 11:19:51 +00:00
replay-time.c replay: fix icount request when replaying clock access 2021-02-16 17:15:39 +01:00
replay.c replay: fix icount request when replaying clock access 2021-02-16 17:15:39 +01:00
stubs-system.c replay: do not build if TCG is not available 2020-10-22 11:53:54 -04:00