diff options
-rw-r--r-- | cpus.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -111,6 +111,8 @@ static void do_vm_stop(int reason) vm_running = 0; pause_all_vcpus(); vm_state_notify(0, reason); + qemu_aio_flush(); + bdrv_flush_all(); monitor_protocol_event(QEVENT_STOP, NULL); } } |