mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
replay: allow replay stopping and restarting
This patch fixes bug with stopping and restarting replay through monitor. Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru> Message-Id: <20160926080815.6992.71818.stgit@PASHA-ISP> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
306e196fa2
commit
6d0ceb80ff
8 changed files with 29 additions and 12 deletions
|
@ -105,6 +105,8 @@ bool replay_checkpoint(ReplayCheckpoint checkpoint);
|
|||
|
||||
/*! Disables storing events in the queue */
|
||||
void replay_disable_events(void);
|
||||
/*! Enables storing events in the queue */
|
||||
void replay_enable_events(void);
|
||||
/*! Returns true when saving events is enabled */
|
||||
bool replay_events_enabled(void);
|
||||
/*! Adds bottom half event to the queue */
|
||||
|
@ -115,6 +117,8 @@ void replay_input_event(QemuConsole *src, InputEvent *evt);
|
|||
void replay_input_sync_event(void);
|
||||
/*! Adds block layer event to the queue */
|
||||
void replay_block_event(QEMUBH *bh, uint64_t id);
|
||||
/*! Returns ID for the next block event */
|
||||
uint64_t blkreplay_next_id(void);
|
||||
|
||||
/* Character device */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue