diff options
author | Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru> | 2016-09-26 11:08:16 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-09-27 11:57:30 +0200 |
commit | 6d0ceb80ffe18ad4b28aab7356f440636c0be7be (patch) | |
tree | 09d48a930e9a16114774f418c0888bf2809a1867 /vl.c | |
parent | 306e196fa24c46d384577fb9c16e7cdb80f26d17 (diff) | |
download | qemu-6d0ceb80ffe18ad4b28aab7356f440636c0be7be.zip qemu-6d0ceb80ffe18ad4b28aab7356f440636c0be7be.tar.gz qemu-6d0ceb80ffe18ad4b28aab7356f440636c0be7be.tar.bz2 |
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>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -784,6 +784,7 @@ void vm_start(void) if (runstate_is_running()) { qapi_event_send_stop(&error_abort); } else { + replay_enable_events(); cpu_enable_ticks(); runstate_set(RUN_STATE_RUNNING); vm_state_notify(1, RUN_STATE_RUNNING); |