summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPaolo Bonzini2016-10-27 12:48:51 +0200
committerFam Zheng2016-10-28 15:50:18 +0200
commit9a0cec664eefed475a5954006e29f2fd7cd29d2a (patch)
treef867a1f5e54b181b29653e9f003c27cd1070bc21 /scripts
parentblockjob: introduce .drain callback for jobs (diff)
downloadqemu-9a0cec664eefed475a5954006e29f2fd7cd29d2a.tar.gz
qemu-9a0cec664eefed475a5954006e29f2fd7cd29d2a.tar.xz
qemu-9a0cec664eefed475a5954006e29f2fd7cd29d2a.zip
mirror: use bdrv_drained_begin/bdrv_drained_end
Ensure that there are no changes between the last check to bdrv_get_dirty_count and the switch to the target. There is already a bdrv_drained_end call, we only need to ensure that bdrv_drained_begin is not called twice. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Message-Id: <1477565348-5458-4-git-send-email-pbonzini@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions