Home
last modified time | relevance | path

Searched hist:"5209 d675" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/util/
H A Diov.c5209d675 Wed Mar 27 11:36:29 CDT 2013 Paolo Bonzini <pbonzini@redhat.com> iov: reorganize iov_send_recv, part 2

Do not touch the "bytes" argument anymore. Instead, remember the
original length of the last iovec if we touch it, and restore it
afterwards.

This requires undoing the changes in opposite order. The previous
algorithm didn't care.

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