]> git.proxmox.com Git - qemu.git/commit - qemu-io.c
qemu-io: Use bdrv_drain_all instead of qemu_aio_flush
authorKevin Wolf <kwolf@redhat.com>
Tue, 13 Nov 2012 15:41:22 +0000 (16:41 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 14 Nov 2012 17:20:06 +0000 (18:20 +0100)
commite7c8b094c2cf4f7e1609e24efffe3632cba84346
tree9bc4498569cdce67e3e4b47d89d751a543f97f99
parentb618f4a1c15d793c16c159059dd6f173e3e20f3e
qemu-io: Use bdrv_drain_all instead of qemu_aio_flush

This is harmless as of today because I/O throttling is not used in
qemu-io, however as soon as .bdrv_drain handlers will be introduced,
qemu-io must be sure to call bdrv_drain_all().

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-io.c