Changes from v11: Fix example for query-migrate-cache-size commands Move patch 10 (Change total_time to total-time) to patch 9 and fix comment.
Changes from v10: remove query-migrate-supported-capabilities commands. Update documentation. Replace total_time with total-time fix other comments by Eric Changes from v9: rename query-migrtion-supported-capabilities to query-migrate-supported-capabilities rename 'info migration_supported_capabilities' to 'info migrate_supported_capabilities' renamse migrate_set_cachesize to migrate_set_cache_size. Add missing state to qmp_query_migrate_supported_capabilities. remove unused MigrationParameters. fix query-migrate examples. fix other comments by Luiz and Eric. Changes from v8: remove xbzrle from xbzrle-cache fields name. fix other review comments by Eric Changes from v7: rename migrate-set-parameter to migrate-set-capabilities rename query-migrate-parameters to query-migrate-capabilities renamse query-migration-capabilities to query-migration-supported-capabilities fix query_migration_supported_capabilties to return a list add query-migrate-cache-size commands fix other review comment by Luiz and Eric 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. patches are based on git://repo.or.cz/qemu/quintela.git Migration-next-v5 branch Please review Juan Quintela (1): Restart optimization on stage3 update version Orit Wasserman (11): Add migration capabilities Add migrate-set-capabilities 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_cache_size command Change total_time to total-time in MigrationStats Add migration accounting for normal and duplicate pages Add XBZRLE statistics Makefile.objs | 1 + arch_init.c | 246 ++++++++++++++++++++++++++++++++++++++++++++- cutils.c | 42 ++++++++ docs/xbzrle.txt | 128 +++++++++++++++++++++++ hmp-commands.hx | 38 +++++++ hmp.c | 103 +++++++++++++++++++ hmp.h | 4 + include/qemu/page_cache.h | 79 +++++++++++++++ migration.c | 112 ++++++++++++++++++++ migration.h | 21 ++++ monitor.c | 14 +++ page_cache.c | 218 +++++++++++++++++++++++++++++++++++++++ qapi-schema.json | 119 +++++++++++++++++++++- qemu-common.h | 21 ++++ qmp-commands.hx | 159 ++++++++++++++++++++++++++++- savevm.c | 159 +++++++++++++++++++++++++++++ 16 files changed, 1451 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