commit | cb6247a7e3e07ead908d2e7fbc8848cc2e135056 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Mar 27 17:36:28 2013 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Apr 17 11:43:44 2013 +0200 |
tree | 33223836d546d9c764c5c1d1e9dc20fe13f9d2c2 | |
parent | 15711565f66de53c22c3a9faee04fc2092409ce4 [diff] |
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>