Re: [Qemu-devel] [PATCH 3/6] migration:fix free XBZRLE decoded_buf wrong

2014-02-04 Thread Juan Quintela
Orit Wasserman wrote: > From: "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

[Qemu-devel] [PATCH 3/6] migration:fix free XBZRLE decoded_buf wrong

2014-01-29 Thread Orit Wasserman
From: "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 R