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
1
cpus.c
1
cpus.c
|
@ -750,6 +750,7 @@ static int do_vm_stop(RunState state)
|
|||
}
|
||||
|
||||
bdrv_drain_all();
|
||||
replay_disable_events();
|
||||
ret = blk_flush_all();
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue