* [PATCH] replay: fix event queue flush for qemu shutdown
@ 2021-05-17 13:05 Pavel Dovgalyuk
2021-05-31 4:47 ` Pavel Dovgalyuk
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Dovgalyuk @ 2021-05-17 13:05 UTC (permalink / raw)
To: qemu-devel; +Cc: alex.bennee, pbonzini, pavel.dovgalyuk
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>
---
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)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] replay: fix event queue flush for qemu shutdown
2021-05-17 13:05 [PATCH] replay: fix event queue flush for qemu shutdown Pavel Dovgalyuk
@ 2021-05-31 4:47 ` Pavel Dovgalyuk
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Dovgalyuk @ 2021-05-31 4:47 UTC (permalink / raw)
To: qemu-devel; +Cc: pbonzini, alex.bennee
ping
On 17.05.2021 16:05, Pavel Dovgalyuk wrote:
> 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>
> ---
> 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)
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-31 4:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17 13:05 [PATCH] replay: fix event queue flush for qemu shutdown Pavel Dovgalyuk
2021-05-31 4:47 ` Pavel Dovgalyuk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).