[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 1/9] replay: fix event queue flush for qemu shutdown
From: |
Pavel Dovgalyuk |
Subject: |
[PATCH v4 1/9] replay: fix event queue flush for qemu shutdown |
Date: |
Fri, 27 May 2022 13:46:07 +0300 |
User-agent: |
StGit/0.23 |
This patch fixes event queue flush in the case of emulator
shutdown. replay_finish_events should be called when replay_mode
is not cleared.
Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
replay/replay.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/replay/replay.c b/replay/replay.c
index 6df2abc18c..2d3607998a 100644
--- a/replay/replay.c
+++ b/replay/replay.c
@@ -387,9 +387,8 @@ void replay_finish(void)
g_free(replay_snapshot);
replay_snapshot = NULL;
- replay_mode = REPLAY_MODE_NONE;
-
replay_finish_events();
+ replay_mode = REPLAY_MODE_NONE;
}
void replay_add_blocker(Error *reason)
- [PATCH v4 0/9] Record/replay refactoring and stuff, Pavel Dovgalyuk, 2022/05/27
- [PATCH v4 1/9] replay: fix event queue flush for qemu shutdown,
Pavel Dovgalyuk <=
- [PATCH v4 2/9] replay: notify vCPU when BH is scheduled, Pavel Dovgalyuk, 2022/05/27
- [PATCH v4 3/9] replay: rewrite async event handling, Pavel Dovgalyuk, 2022/05/27
- [PATCH v4 4/9] replay: simplify async event processing, Pavel Dovgalyuk, 2022/05/27
- [PATCH v4 5/9] docs: convert docs/devel/replay page to rst, Pavel Dovgalyuk, 2022/05/27
- [PATCH v4 6/9] docs: move replay docs to docs/system/replay.rst, Pavel Dovgalyuk, 2022/05/27
- [PATCH v4 7/9] tests/avocado: update replay_linux test, Pavel Dovgalyuk, 2022/05/27
- [PATCH v4 8/9] tests/avocado: add replay Linux tests for virtio machine, Pavel Dovgalyuk, 2022/05/27
- [PATCH v4 9/9] tests/avocado: add replay Linux test for Aarch64 machines, Pavel Dovgalyuk, 2022/05/27