Re: [PATCH v3 09/24] migration/multifd: Split packet into header and RAM data

2024-12-05 Thread Peter Xu
On Sun, Nov 17, 2024 at 08:20:04PM +0100, Maciej S. Szmigiero wrote: > From: "Maciej S. Szmigiero" > > Read packet header first so in the future we will be able to > differentiate between a RAM multifd packet and a device state multifd > packet. > > Since these two are of different size we can't

Re: [PATCH v3 09/24] migration/multifd: Split packet into header and RAM data

2024-11-26 Thread Fabiano Rosas
"Maciej S. Szmigiero" writes: > From: "Maciej S. Szmigiero" > > Read packet header first so in the future we will be able to > differentiate between a RAM multifd packet and a device state multifd > packet. > > Since these two are of different size we can't read the packet body until > we know w

[PATCH v3 09/24] migration/multifd: Split packet into header and RAM data

2024-11-17 Thread Maciej S. Szmigiero
From: "Maciej S. Szmigiero" Read packet header first so in the future we will be able to differentiate between a RAM multifd packet and a device state multifd packet. Since these two are of different size we can't read the packet body until we know which packet type it is. Signed-off-by: Maciej