aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorLiang Li <liang.z.li@intel.com>2016-05-05 15:32:55 +0800
committerAmit Shah <amit.shah@redhat.com>2016-06-17 18:24:21 +0530
commitfc50438ed0b7106542048d70686ee4b1c340ea49 (patch)
treee9110d252fd8bdf4c2469854fe3b9398b65688d9 /block
parentb3be28969b797b27d7f7f806827e9898e4ee08f0 (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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions