This patch fixed the flaws in qemu_put_compression_data function. and cleanup the code based on the change.
Liang Li (2): qemu-file: fix flaws of qemu_put_compression_data migration: code clean up. migration/qemu-file.c | 10 +++++++++- migration/ram.c | 20 ++++++++------------ 2 files changed, 17 insertions(+), 13 deletions(-) -- 1.9.1