Re: [PATCH 1/4] util/iov: Make qiov_slice() public

2023-03-20 Thread Vladimir Sementsov-Ogievskiy
On 17.03.23 20:50, Hanna Czenczek wrote: We want to inline qemu_iovec_init_extended() in block/io.c for padding requests, and having access to qiov_slice() is useful for this. (We will need to count the number of I/O vector elements of a slice there, and then later process this slice. Without q

Re: [PATCH 1/4] util/iov: Make qiov_slice() public

2023-03-18 Thread Eric Blake
On Fri, Mar 17, 2023 at 06:50:16PM +0100, Hanna Czenczek wrote: > We want to inline qemu_iovec_init_extended() in block/io.c for padding > requests, and having access to qiov_slice() is useful for this. > > (We will need to count the number of I/O vector elements of a slice > there, and then later

[PATCH 1/4] util/iov: Make qiov_slice() public

2023-03-17 Thread Hanna Czenczek
We want to inline qemu_iovec_init_extended() in block/io.c for padding requests, and having access to qiov_slice() is useful for this. (We will need to count the number of I/O vector elements of a slice there, and then later process this slice. Without qiov_slice(), we would need to call qemu_iov