From patchwork Wed Aug 8 13:03:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 175926 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 81E852C0098 for ; Wed, 8 Aug 2012 23:03:51 +1000 (EST) Received: from localhost ([::1]:60947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz5vQ-000301-L0 for incoming@patchwork.ozlabs.org; Wed, 08 Aug 2012 09:03:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz5vF-0002zk-LL for qemu-devel@nongnu.org; Wed, 08 Aug 2012 09:03:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sz5v9-0006MS-NG for qemu-devel@nongnu.org; Wed, 08 Aug 2012 09:03:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz5v9-0006MJ-FQ for qemu-devel@nongnu.org; Wed, 08 Aug 2012 09:03:31 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q78D3UW9014421 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 8 Aug 2012 09:03:30 -0400 Received: from trasno.mitica (ovpn-116-54.ams2.redhat.com [10.36.116.54]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q78D3SCi029238; Wed, 8 Aug 2012 09:03:29 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Wed, 8 Aug 2012 15:03:27 +0200 Message-Id: <1344431007-20383-1-git-send-email-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: aliguori@us.ibm.com Subject: [Qemu-devel] [PATCH 00/12] Migration next 20120808 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Hi This includes xbzrle series (v12) That were reviewed by Erik and Luiz. Anthony, please apply. Later, Juan. The following changes since commit c03b0aa0ca93480e92dc356e58538df0835fe621: Merge remote-tracking branch 'kraxel/usb.58' into staging (2012-08-07 09:46:40 -0500) are available in the git repository at: http://repo.or.cz/r/qemu/quintela.git migration-next-20120808 for you to fetch changes up to dd051c7217eae04191169ac62f6ffb7531c8da32: Restart optimization on stage3 update version (2012-08-08 13:51:12 +0200) 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