]> Git Repo - qemu.git/commit
replay: flush rr queue before loading the vmstate
authorPavel Dovgalyuk <[email protected]>
Sat, 3 Oct 2020 17:13:37 +0000 (20:13 +0300)
committerPaolo Bonzini <[email protected]>
Tue, 6 Oct 2020 06:34:49 +0000 (08:34 +0200)
commitf9a9fb6516b453d2318eca0fc5eecc4c57f6b065
tree76a9663ec8e2e60c37898a9f244099d15f59d63e
parentf6baed3d1485817e812ac8b275b5b4158384c59e
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 <[email protected]>
Reviewed-by: Alex BennĂ©e <[email protected]>
Message-Id: <160174521762.12451.15752448887893855757.stgit@pasha-ThinkPad-X280>
Signed-off-by: Paolo Bonzini <[email protected]>
include/sysemu/replay.h
migration/savevm.c
replay/replay-events.c
replay/replay-internal.h
This page took 0.023112 seconds and 4 git commands to generate.