]> git.proxmox.com Git - mirror_qemu.git/commit
block/mirror: replace IOV_MAX with blk_get_max_iov()
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 9 Jul 2015 09:56:47 +0000 (10:56 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 22 Dec 2015 08:01:07 +0000 (16:01 +0800)
commit3515727f31a2377ec94d0adb450cc175f33138f7
treea49bd361daca336fea900a4eb39bbd8df3d96df5
parent222565f65c3fba6825912c2561de7831e514ef3c
block/mirror: replace IOV_MAX with blk_get_max_iov()

Use blk_get_max_iov() instead of hardcoding IOV_MAX, which may not apply
to all BlockDrivers.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/mirror.c