aboutsummaryrefslogtreecommitdiff
path: root/replay/replay-internal.h
diff options
context:
space:
mode:
authorPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>2018-09-12 11:18:59 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2018-10-02 19:08:51 +0200
commitd873fe03766481b72549ff15ee647c086a98c12f (patch)
treec9301fc63c8d3024394102d9a985eaffae7af6a1 /replay/replay-internal.h
parent0c08185f8fe1eb20edec1a2bf32b4d219cc023f0 (diff)
replay: flush events when exiting
This patch adds events processing when emulation finishes instead of just cleaning the queue. Now the bdrv coroutines will be in consistent state when emulator closes. It allows correct polling of the block layer at exit. Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru> Message-Id: <20180912081859.3228.79735.stgit@pasha-VirtualBox> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'replay/replay-internal.h')
-rw-r--r--replay/replay-internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/replay/replay-internal.h b/replay/replay-internal.h
index ac4b27b674..9b0fd916a3 100644
--- a/replay/replay-internal.h
+++ b/replay/replay-internal.h
@@ -142,8 +142,6 @@ void replay_init_events(void);
void replay_finish_events(void);
/*! Flushes events queue */
void replay_flush_events(void);
-/*! Clears events list before loading new VM state */
-void replay_clear_events(void);
/*! Returns true if there are any unsaved events in the queue */
bool replay_has_events(void);
/*! Saves events from queue into the file */