diff options
| author | Paolo Bonzini | 2016-10-27 12:48:51 +0200 |
|---|---|---|
| committer | Fam Zheng | 2016-10-28 15:50:18 +0200 |
| commit | 9a0cec664eefed475a5954006e29f2fd7cd29d2a (patch) | |
| tree | f867a1f5e54b181b29653e9f003c27cd1070bc21 /scripts/switch-timer-api | |
| parent | blockjob: introduce .drain callback for jobs (diff) | |
| download | qemu-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/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
