From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sxwty-0001nb-Gw for qemu-devel@nongnu.org; Sun, 05 Aug 2012 05:13:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sxwtx-0000Sx-8Y for qemu-devel@nongnu.org; Sun, 05 Aug 2012 05:13:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sxwtx-0000Sq-0Z for qemu-devel@nongnu.org; Sun, 05 Aug 2012 05:13:33 -0400 From: Orit Wasserman Date: Sun, 5 Aug 2012 12:13:13 +0300 Message-Id: <1344158004-10370-1-git-send-email-owasserm@redhat.com> Subject: [Qemu-devel] [PATCH 00/11] Migration next v10 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, aliguori@us.ibm.com, quintela@redhat.com, stefanha@gmail.com, mdroth@linux.vnet.ibm.com, lcapitulino@redhat.com, blauwirbel@gmail.com, Orit Wasserman , chegu_vinod@hp.com, avi@redhat.com, pbonzini@redhat.com, eblake@redhat.com 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 -- 1.7.7.6