Re: [PATCH v6 17/23] migration/multifd: Add outgoing QIOChannelFile support

2024-02-29 Thread Peter Xu
On Thu, Feb 29, 2024 at 12:30:11PM -0300, Fabiano Rosas wrote: > Allow multifd to open file-backed channels. This will be used when > enabling the mapped-ram migration stream format which expects a > seekable transport. > > The QIOChannel read and write methods will use the preadv/pwritev > versio

[PATCH v6 17/23] migration/multifd: Add outgoing QIOChannelFile support

2024-02-29 Thread Fabiano Rosas
Allow multifd to open file-backed channels. This will be used when enabling the mapped-ram migration stream format which expects a seekable transport. The QIOChannel read and write methods will use the preadv/pwritev versions which don't update the file offset at each call so we can reuse the fd w