diff options
Diffstat (limited to 'cpus.c')
| -rw-r--r-- | cpus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpus.c b/cpus.c index 82530c4a03..58e173c1d9 100644 --- a/cpus.c +++ b/cpus.c @@ -396,7 +396,7 @@ static void do_vm_stop(RunState state) pause_all_vcpus(); runstate_set(state); vm_state_notify(0, state); - qemu_aio_flush(); + bdrv_drain_all(); bdrv_flush_all(); monitor_protocol_event(QEVENT_STOP, NULL); } |