Re: [RFC PATCH v3 13/30] migration/multifd: Add outgoing QIOChannelFile support

2024-01-17 Thread Peter Xu
On Wed, Jan 17, 2024 at 02:34:18PM -0300, Fabiano Rosas wrote: > Well this sequence: > > multifd_new_send_channel_async() -> multifd_channel_connect() -> > multifd_tls_channel_connect() -> new thread -> > multifd_tls_handshake_thread() -> new task -> > multifd_tls_outgoing_handshake() -> multifd_c

Re: [RFC PATCH v3 13/30] migration/multifd: Add outgoing QIOChannelFile support

2024-01-17 Thread Fabiano Rosas
Peter Xu writes: > On Tue, Jan 16, 2024 at 10:37:48AM -0300, Fabiano Rosas wrote: >> Peter Xu writes: >> >> > On Mon, Nov 27, 2023 at 05:25:55PM -0300, Fabiano Rosas wrote: >> >> Allow multifd to open file-backed channels. This will be used when >> >> enabling the fixed-ram migration stream for

Re: [RFC PATCH v3 13/30] migration/multifd: Add outgoing QIOChannelFile support

2024-01-17 Thread Peter Xu
On Tue, Jan 16, 2024 at 10:37:48AM -0300, Fabiano Rosas wrote: > Peter Xu writes: > > > On Mon, Nov 27, 2023 at 05:25:55PM -0300, Fabiano Rosas wrote: > >> Allow multifd to open file-backed channels. This will be used when > >> enabling the fixed-ram migration stream format which expects a > >> s

Re: [RFC PATCH v3 13/30] migration/multifd: Add outgoing QIOChannelFile support

2024-01-16 Thread Fabiano Rosas
Peter Xu writes: > On Mon, Nov 27, 2023 at 05:25:55PM -0300, Fabiano Rosas wrote: >> Allow multifd to open file-backed channels. This will be used when >> enabling the fixed-ram migration stream format which expects a >> seekable transport. >> >> The QIOChannel read and write methods will use th

Re: [RFC PATCH v3 13/30] migration/multifd: Add outgoing QIOChannelFile support

2024-01-15 Thread Peter Xu
On Tue, Jan 16, 2024 at 12:05:57PM +0800, Peter Xu wrote: > On Mon, Nov 27, 2023 at 05:25:55PM -0300, Fabiano Rosas wrote: > > Allow multifd to open file-backed channels. This will be used when > > enabling the fixed-ram migration stream format which expects a > > seekable transport. > > > > The Q

Re: [RFC PATCH v3 13/30] migration/multifd: Add outgoing QIOChannelFile support

2024-01-15 Thread Peter Xu
On Mon, Nov 27, 2023 at 05:25:55PM -0300, Fabiano Rosas wrote: > Allow multifd to open file-backed channels. This will be used when > enabling the fixed-ram migration stream format which expects a > seekable transport. > > The QIOChannel read and write methods will use the preadv/pwritev > version