Re: [PATCH v4 21/34] migration/multifd: Add incoming QIOChannelFile support

2024-02-25 Thread Peter Xu
On Mon, Feb 26, 2024 at 03:34:26PM +0800, Peter Xu wrote: > On Tue, Feb 20, 2024 at 07:41:25PM -0300, Fabiano Rosas wrote: > > On the receiving side we don't need to differentiate between main > > channel and threads, so whichever channel is defined first gets to be > > the main one. And since

Re: [PATCH v4 21/34] migration/multifd: Add incoming QIOChannelFile support

2024-02-25 Thread Peter Xu
On Tue, Feb 20, 2024 at 07:41:25PM -0300, Fabiano Rosas wrote: > On the receiving side we don't need to differentiate between main > channel and threads, so whichever channel is defined first gets to be > the main one. And since there are no packets, use the atomic channel > count to index into

[PATCH v4 21/34] migration/multifd: Add incoming QIOChannelFile support

2024-02-20 Thread Fabiano Rosas
On the receiving side we don't need to differentiate between main channel and threads, so whichever channel is defined first gets to be the main one. And since there are no packets, use the atomic channel count to index into the params array. Signed-off-by: Fabiano Rosas --- migration/file.c