Re: [Qemu-devel] [PATCH v3] migration:fix free XBZRLE decoded_buf wrong

2014-01-28 Thread Gonglei (Arei)
Ping... Best regards, -Gonglei > -Original Message- > From: Gonglei (Arei) > Sent: Thursday, January 23, 2014 3:47 PM > To: qemu-devel@nongnu.org > Cc: 'Orit Wasserman'; qemu-devel@nongnu.org; Peter Maydell; > anth...@codemonkey.ws; pbonz...@redhat.com; Luonengjun; chenliang (T); > Huan

[Qemu-devel] [PATCH v3] migration:fix free XBZRLE decoded_buf wrong

2014-01-22 Thread Gonglei (Arei)
When qemu do live migration with xbzrle, qemu malloc decoded_buf at destination end but free it at source end. It will crash qemu by double free error in some scenarios. Splitting the XBZRLE structure for clear logic distinguishing src/dst side. Signed-off-by: ChenLiang Reviewed-by: Peter Maydell