Message ID | 1474595152-4383-3-git-send-email-jsnow@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/cpus.c b/cpus.c index e39ccb7..96d9352 100644 --- a/cpus.c +++ b/cpus.c @@ -751,7 +751,7 @@ static int do_vm_stop(RunState state) } bdrv_drain_all(); - ret = blk_flush_all(); + ret = bdrv_flush_all(); return ret; } @@ -1494,7 +1494,7 @@ int vm_stop_force_state(RunState state) bdrv_drain_all(); /* Make sure to return an error if the flush in a previous vm_stop() * failed. */ - return blk_flush_all(); + return bdrv_flush_all(); } }