« Previous | Next » 

Revision 905f26f2

ID905f26f2221e139ac0e7317ddac158c50f5cf876

Added by Gonglei (Arei) over 10 years ago

migration:fix free XBZRLE decoded_buf wrong

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 <>
Reviewed-by: Orit Wasserman <>
Signed-off-by: GongLei <>
Signed-off-by: Juan Quintela <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences