From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvQ1m-0003uM-EW for qemu-devel@nongnu.org; Sun, 29 Jul 2012 05:43:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvQ1l-0000nH-AD for qemu-devel@nongnu.org; Sun, 29 Jul 2012 05:43:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvQ1l-0000n8-1t for qemu-devel@nongnu.org; Sun, 29 Jul 2012 05:43:09 -0400 From: Orit Wasserman Date: Sun, 29 Jul 2012 12:42:52 +0300 Message-Id: <1343554983-4195-1-git-send-email-owasserm@redhat.com> Subject: [Qemu-devel] [PATCH 00/11] Migration next v7 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 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