Migration next v10
cover Migration next v10
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 (10):
Add migration capabilities
Add migrate-set-capabilities and query-migrate-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
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 | 40 ++++++++ hmp.c | 124 +++++++++++++++++++++++ hmp.h | 5 + include/qemu/page_cache.h | 79 +++++++++++++++ migration.c | 125 +++++++++++++++++++++++ migration.h | 21 ++++ monitor.c | 21 ++++ page_cache.c | 218 +++++++++++++++++++++++++++++++++++++++ qapi-schema.json | 126 ++++++++++++++++++++++- qemu-common.h | 21 ++++ qmp-commands.hx | 176 +++++++++++++++++++++++++++++++- savevm.c | 159 +++++++++++++++++++++++++++++ 16 files changed, 1528 insertions(+), 12 deletions(-) create mode 100644 docs/xbzrle.txt create mode 100644 include/qemu/page_cache.h create mode 100644 page_cache.c
Signature · 1 line
1.7.7.6