Those are the latest XBZRLE patches (part of the migration next branch). changes from v6: fix memory leak in cache_init. using size_t for cache_get_cache_pos. fix qapi-schema.json comments. fix other comments by Eric Blake.
changes from v5: Add query-migrate-parameters that display the migration parameters (currently only capabilities I will add the other parameters separately). Remove capabilities from query-migrate. Please review Juan Quintela (1): Restart optimization on stage3 update version Orit Wasserman (10): Add migration capabilities Add migrate_set_parameter and query-migrate-parameters Add XBZRLE documentation Add cache handling functions Add uleb encoding/decoding functions Add xbzrle_encode_buffer and xbzrle_decode_buffer functions Add XBZRLE to ram_save_block and ram_save_live Add migrate_set_cachesize command Add migration accounting for normal and duplicate pages Add XBZRLE statistics Makefile.objs | 1 + arch_init.c | 246 ++++++++++++++++++++++++++++++++++++++++++++- cutils.c | 42 ++++++++ docs/xbzrle.txt | 136 +++++++++++++++++++++++++ hmp-commands.hx | 38 +++++++ hmp.c | 124 +++++++++++++++++++++++ hmp.h | 4 + include/qemu/page_cache.h | 79 +++++++++++++++ migration.c | 123 ++++++++++++++++++++++- migration.h | 21 ++++ monitor.c | 14 +++ page_cache.c | 218 +++++++++++++++++++++++++++++++++++++++ qapi-schema.json | 127 +++++++++++++++++++++++- qemu-common.h | 21 ++++ qmp-commands.hx | 154 +++++++++++++++++++++++++++- savevm.c | 159 +++++++++++++++++++++++++++++ 16 files changed, 1494 insertions(+), 13 deletions(-) create mode 100644 docs/xbzrle.txt create mode 100644 include/qemu/page_cache.h create mode 100644 page_cache.c -- 1.7.7.6