Paolo Bonzini <pbonz...@redhat.com> wrote: > 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. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
Reviewed-by: Juan Quintela <quint...@redhat.com>