diff options
Diffstat (limited to 'savevm.c')
| -rw-r--r-- | savevm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/savevm.c b/savevm.c index f53cd4c154..0443554b39 100644 --- a/savevm.c +++ b/savevm.c @@ -2104,7 +2104,7 @@ int load_vmstate(const char *name) } /* Flush all IO requests so they don't interfere with the new state. */ - qemu_aio_flush(); + bdrv_drain_all(); bs = NULL; while ((bs = bdrv_next(bs))) { |