]> Git Repo - qemu.git/commit
migration:fix free XBZRLE decoded_buf wrong
authorGonglei (Arei) <[email protected]>
Thu, 30 Jan 2014 18:08:35 +0000 (20:08 +0200)
committerJuan Quintela <[email protected]>
Tue, 4 Feb 2014 15:49:24 +0000 (16:49 +0100)
commit905f26f2221e139ac0e7317ddac158c50f5cf876
tree420e6d998f90b84df75f6366d16fb6b6871d4761
parentc91e681a558fc21073ffc491b5a022d5f340fa0b
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 <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Reviewed-by: Orit Wasserman <[email protected]>
Signed-off-by: GongLei <[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
arch_init.c
include/migration/migration.h
migration.c
This page took 0.024863 seconds and 4 git commands to generate.