]> git.proxmox.com Git - mirror_qemu.git/blobdiff - cpus.c
replay: don't drain/flush bdrv queue while RR is working
[mirror_qemu.git] / cpus.c
diff --git a/cpus.c b/cpus.c
index d2c61ff1558aa83894ffb40233600859f937c40b..367f0657c5d90ff002e45e34bd6461a4d7510867 100644 (file)
--- a/cpus.c
+++ b/cpus.c
@@ -1097,7 +1097,6 @@ static int do_vm_stop(RunState state, bool send_stop)
     }
 
     bdrv_drain_all();
-    replay_disable_events();
     ret = bdrv_flush_all();
 
     return ret;
@@ -2181,7 +2180,6 @@ int vm_prepare_start(void)
     /* We are sending this now, but the CPUs will be resumed shortly later */
     qapi_event_send_resume();
 
-    replay_enable_events();
     cpu_enable_ticks();
     runstate_set(RUN_STATE_RUNNING);
     vm_state_notify(1, RUN_STATE_RUNNING);