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


I would have preffered that iov was used as const,  but as the current
code already modifies it,  nothing wrong here.

(coping the iov shouldn't have been such a big problem and we would
remove the need to fix the offsets at the end).

But as said,  code is better than what we had.

Reviewed-by: Juan Quintela <quint...@redhat.com>

Reply via email to