]> git.proxmox.com Git - qemu.git/commit
iov: reorganize iov_send_recv, part 1
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 27 Mar 2013 16:36:28 +0000 (17:36 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 17 Apr 2013 09:43:44 +0000 (11:43 +0200)
commitcb6247a7e3e07ead908d2e7fbc8848cc2e135056
tree33223836d546d9c764c5c1d1e9dc20fe13f9d2c2
parent15711565f66de53c22c3a9faee04fc2092409ce4
iov: reorganize iov_send_recv, part 1

Once the initial part of the iov is dropped, it is not used anymore.
Modify iov/iovcnt directly instead of adjusting them with the "si"
variable.

Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Orit Wassermann <owasserm@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
util/iov.c