Re: [PATCH RFC 23/26] migration/multifd: Device state transfer support - send side

2024-05-06 Thread Maciej S. Szmigiero
On 29.04.2024 22:04, Peter Xu wrote: On Tue, Apr 16, 2024 at 04:43:02PM +0200, Maciej S. Szmigiero wrote: +bool multifd_queue_page(RAMBlock *block, ram_addr_t offset) +{ +g_autoptr(GMutexLocker) locker = NULL; + +/* + * Device state submissions for shared channels can come + * fr

Re: [PATCH RFC 23/26] migration/multifd: Device state transfer support - send side

2024-04-29 Thread Peter Xu
On Tue, Apr 16, 2024 at 04:43:02PM +0200, Maciej S. Szmigiero wrote: > +bool multifd_queue_page(RAMBlock *block, ram_addr_t offset) > +{ > +g_autoptr(GMutexLocker) locker = NULL; > + > +/* > + * Device state submissions for shared channels can come > + * from multiple threads and co