RE: [PATCH] migration: Fix a potential guest memory corruption

2022-10-16 Thread Duan, Zhenzhong
>-Original Message- >From: Dr. David Alan Gilbert >Sent: Tuesday, October 11, 2022 7:06 PM >To: Duan, Zhenzhong >Cc: qemu-devel@nongnu.org; quint...@redhat.com >Subject: Re: [PATCH] migration: Fix a potential guest memory corruption > >* Zhenzhong Duan (zhenzho

Re: [PATCH] migration: Fix a potential guest memory corruption

2022-10-11 Thread Dr. David Alan Gilbert
* Zhenzhong Duan (zhenzhong.d...@intel.com) wrote: Hi, > Imagine a rare case, after a dirty page is sent to compression threads's > ring, dirty bitmap sync trigger right away and mark the same page dirty > again and sent. Then the new page may be overwriten by stale page in > compression threads'