From: Xiao Guangrong <xiaoguangrong@xxxxxxxxxxx> Changelog in v6: Thanks to Juan's review, in this version we 1) move flush compressed data to find_dirty_block() where it hits the end of memblock 2) use save_page_use_compression instead of migrate_use_compression in flush_compressed_data Xiao Guangrong (3): migration: do not flush_compressed_data at the end of iteration migration: show the statistics of compression migration: use save_page_use_compression in flush_compressed_data hmp.c | 13 +++++++++++ migration/migration.c | 12 ++++++++++ migration/ram.c | 63 +++++++++++++++++++++++++++++++++++++++++++-------- migration/ram.h | 1 + qapi/migration.json | 26 ++++++++++++++++++++- 5 files changed, 105 insertions(+), 10 deletions(-) -- 2.14.4