]> git.proxmox.com Git - mirror_qemu.git/commit
block: Use bdrv_drain to replace uncessary bdrv_drain_all
authorFam Zheng <famz@redhat.com>
Fri, 29 May 2015 10:53:14 +0000 (18:53 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 7 Jul 2015 13:27:14 +0000 (14:27 +0100)
commit53ec73e264f481b79b52efcadc9ceb8f8996975c
treeadf844204dd479e4c8a3b1c81c053708d24a23d8
parentc2e0dbbfd7265eb9a7170ab195d8f9f8a1cbd1af
block: Use bdrv_drain to replace uncessary bdrv_drain_all

There callers work on a single BlockDriverState subtree, where using
bdrv_drain() is more accurate.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block.c
block/snapshot.c
migration/block.c