29 Feb
2024
29 Feb
'24
9:09 a.m.
On Wed, 28 Feb 2024 12:52:00 +1100
David Gibson
From: Laurent Vivier
Introduce functions to copy to/from a buffer from/to an iovec array, to compute data length in in bytes of an iovec and to copy memory from an iovec to another.
iov_from_buf(), iov_to_buf(), iov_size(), iov_copy().
Signed-off-by: Laurent Vivier
Message-ID: <20240217150725.661467-2-lvivier@redhat.com> [dwg: Small changes to suppress cppcheck warnings] Signed-off-by: David Gibson
I have a long list of style comments on this one, but nothing functional, so I'll go ahead and apply it to unblock this series, and post fix-up patches later. -- Stefano