]> git.proxmox.com Git - qemu.git/commit - block/iscsi.c
change qemu_iovec_to_buf() to match other to,from_buf functions
authorMichael Tokarev <mjt@tls.msk.ru>
Thu, 7 Jun 2012 16:21:06 +0000 (20:21 +0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 11 Jun 2012 19:12:11 +0000 (23:12 +0400)
commitd5e6b1619c516fa1e2ee4d8d20f08fcda4fb67a0
tree20ea66644af8533a7ce32f51875d50a800e9b7d4
parent1b093c480a32051cc856b6ab2395d8cbc3ae99da
change qemu_iovec_to_buf() to match other to,from_buf functions

It now allows specifying offset within qiov to start from and
amount of bytes to copy.  Actual implementation is just a call
to iov_to_buf().

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
block.c
block/iscsi.c
block/qcow.c
block/qcow2.c
block/rbd.c
cutils.c
qemu-common.h