From patchwork Mon Jul 23 12:05:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 172646 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 DEDD62C0342 for ; Mon, 23 Jul 2012 22:06:16 +1000 (EST) Received: from localhost ([::1]:43865 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StHOw-0007B0-V9 for incoming@patchwork.ozlabs.org; Mon, 23 Jul 2012 08:06:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StHOh-0007AO-2W for qemu-devel@nongnu.org; Mon, 23 Jul 2012 08:06:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1StHOb-000546-2G for qemu-devel@nongnu.org; Mon, 23 Jul 2012 08:05:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:21316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StHOa-000542-Pp for qemu-devel@nongnu.org; Mon, 23 Jul 2012 08:05:52 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6NC5qit009181 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 Jul 2012 08:05:52 -0400 Received: from trasno.mitica (ovpn-116-28.ams2.redhat.com [10.36.116.28]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q6NC5oWO016874; Mon, 23 Jul 2012 08:05:51 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Mon, 23 Jul 2012 14:05:49 +0200 Message-Id: <1343045149-12897-1-git-send-email-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 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] [PULL 00/14] Migration next 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 Anthony This series include the ram_save_live() split. XBZRLE patches got dropped until we fix a new bug. Please apply. Thanks, Juan. The following changes since commit 61dc008f3529fa74a63aad1907438dad857e255a: Revert "audio: Make PC speaker audio card available by default" (2012-07-19 18:25:52 -0500) are available in the git repository at: http://repo.or.cz/r/qemu/quintela.git for you to fetch changes up to 6c779f22a93cc6e4565b940ef616e3efc5b50ba5: Change ram_save_block to return -1 if there are no more changes (2012-07-23 14:02:28 +0200) Juan Quintela (12): savevm: Use a struct to pass all handlers savevm: Live migration handlers register the struct directly savevm: remove SaveSetParamsHandler savevm: remove SaveLiveStateHandler savevm: Refactor cancel operation in its own operation savevm: introduce is_active method savevm: split save_live_setup from save_live_state savevm: split save_live into stage2 and stage3 ram: save_live_setup() don't need to sent pages ram: save_live_complete() only do one loop ram: iterate phase ram: save_live_setup() we don't need to synchronize the dirty bitmap. Orit Wasserman (2): Add migration capabilities Change ram_save_block to return -1 if there are no more changes arch_init.c | 137 ++++++++++++++++++++++++++++++----------------- block-migration.c | 153 +++++++++++++++++++++++++++++++++++------------------ hmp-commands.hx | 16 ++++++ hmp.c | 64 ++++++++++++++++++++++ hmp.h | 2 + migration.c | 72 ++++++++++++++++++++++++- migration.h | 6 ++- monitor.c | 7 +++ qapi-schema.json | 53 ++++++++++++++++++- qmp-commands.hx | 71 +++++++++++++++++++++++-- savevm.c | 77 +++++++++++++++------------ vl.c | 3 +- vmstate.h | 18 ++++--- 13 files changed, 525 insertions(+), 154 deletions(-)