RE: [PATCH 1/3] multifd: bugfix for migration using compression methods

2024-12-19 Thread Liu, Yuan1
> -Original Message- > From: Peter Xu > Sent: Thursday, December 19, 2024 1:03 AM > To: Liu, Yuan1 > Cc: faro...@suse.de; qemu-devel@nongnu.org; Zeng, Jason > ; Wang, Yichen > Subject: Re: [PATCH 1/3] multifd: bugfix for migration using compression > methods >

Re: [PATCH 1/3] multifd: bugfix for migration using compression methods

2024-12-18 Thread Peter Xu
On Wed, Dec 18, 2024 at 05:14:11PM +0800, Yuan Liu wrote: > When compression is enabled on the migration channel and > the pages processed are all zero pages, these pages will > not be sent and updated on the target side, resulting in > incorrect memory data on the source and target sides. > > The

[PATCH 1/3] multifd: bugfix for migration using compression methods

2024-12-18 Thread Yuan Liu
When compression is enabled on the migration channel and the pages processed are all zero pages, these pages will not be sent and updated on the target side, resulting in incorrect memory data on the source and target sides. The root cause is that all compression methods call multifd_send_prepare_