From: Xiao Guangrong <xiaoguangrong@xxxxxxxxxxx> Changelog in v5: use the way in the older version to handle flush_compressed_data in the iteration, i.e, introduce dirty_sync_count and flush compressed data if the count is changed. That's because we should post the data after QEMU_VM_SECTION_PART has been posted out. Peter, I have dropped your Reviewed-by on this patch, please review. :) Xiao Guangrong (4): migration: do not flush_compressed_data at the end of each iteration migration: fix calculating xbzrle_counters.cache_miss_rate migration: show the statistics of compression migration: handle the error condition properly hmp.c | 13 ++++++++ migration/migration.c | 12 +++++++ migration/ram.c | 91 +++++++++++++++++++++++++++++++++++++++++++-------- migration/ram.h | 1 + qapi/migration.json | 26 ++++++++++++++- 5 files changed, 128 insertions(+), 15 deletions(-) -- 2.14.4