qemu-e2k/replay
Pavel Dovgalyuk f9a9fb6516 replay: flush rr queue before loading the vmstate
Non-empty record/replay queue prevents saving and loading the VM state,
because it includes pending bottom halves and block coroutines.
But when the new VM state is loaded, we don't have to preserve the consistency
of the current state anymore. Therefore this patch just flushes the queue
allowing the coroutines to finish and removes checking for empty rr queue
for load_snapshot function.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <160174521762.12451.15752448887893855757.stgit@pasha-ThinkPad-X280>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-10-06 08:34:49 +02:00
..
meson.build replay: introduce info hmp/qmp command 2020-10-06 08:34:49 +02: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 replay: implement replay-seek command 2020-10-06 08:34:49 +02: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: implement fair mutex 2020-06-10 12:10:47 -04: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 replay: rename step-related variables and functions 2019-08-20 17:26:22 +02:00
replay-time.c replay: rename step-related variables and functions 2019-08-20 17:26:22 +02:00
replay.c replay: introduce breakpoint at the specified step 2020-10-06 08:34:49 +02:00