commit | fc50438ed0b7106542048d70686ee4b1c340ea49 | [log] [tgz] |
---|---|---|
author | Liang Li <liang.z.li@intel.com> | Thu May 05 15:32:55 2016 +0800 |
committer | Amit Shah <amit.shah@redhat.com> | Fri Jun 17 18:24:21 2016 +0530 |
tree | e9110d252fd8bdf4c2469854fe3b9398b65688d9 | |
parent | b3be28969b797b27d7f7f806827e9898e4ee08f0 [diff] |
migration: refine ram_save_compressed_page Use qemu_put_compression_data to do the compression directly instead of using do_compress_ram_page, avoid some data copy. very small improvement, at the same time, add code to check if the compression is successful. Signed-off-by: Liang Li <liang.z.li@intel.com> Message-Id: <1462433579-13691-6-git-send-email-liang.z.li@intel.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>