From patchwork Mon Dec 2 09:19:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lei Li X-Patchwork-Id: 295833 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 1BDE02C0098 for ; Mon, 2 Dec 2013 20:20:37 +1100 (EST) Received: from localhost ([::1]:34587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnPgA-0006sh-Ev for incoming@patchwork.ozlabs.org; Mon, 02 Dec 2013 04:20:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnPfL-0006az-WF for qemu-devel@nongnu.org; Mon, 02 Dec 2013 04:19:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnPfD-0002Sq-1p for qemu-devel@nongnu.org; Mon, 02 Dec 2013 04:19:43 -0500 Received: from e28smtp06.in.ibm.com ([122.248.162.6]:42836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnPfC-0002Se-Cs for qemu-devel@nongnu.org; Mon, 02 Dec 2013 04:19:34 -0500 Received: from /spool/local by e28smtp06.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 2 Dec 2013 14:49:29 +0530 Received: from d28dlp01.in.ibm.com (9.184.220.126) by e28smtp06.in.ibm.com (192.168.1.136) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 2 Dec 2013 14:49:27 +0530 Received: from d28relay02.in.ibm.com (d28relay02.in.ibm.com [9.184.220.59]) by d28dlp01.in.ibm.com (Postfix) with ESMTP id 4F4D8E0059 for ; Mon, 2 Dec 2013 14:51:37 +0530 (IST) Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay02.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id rB29JMrT15859764 for ; Mon, 2 Dec 2013 14:49:22 +0530 Received: from d28av01.in.ibm.com (localhost [127.0.0.1]) by d28av01.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id rB29JNOA000364 for ; Mon, 2 Dec 2013 14:49:23 +0530 Received: from localhost.localdomain.cn.ibm.com ([9.115.122.11]) by d28av01.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id rB29JI4l032476; Mon, 2 Dec 2013 14:49:21 +0530 From: Lei Li To: qemu-devel@nongnu.org Date: Mon, 2 Dec 2013 17:19:01 +0800 Message-Id: <1385975957-22941-2-git-send-email-lilei@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.7.6 In-Reply-To: <1385975957-22941-1-git-send-email-lilei@linux.vnet.ibm.com> References: <1385975957-22941-1-git-send-email-lilei@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13120209-9574-0000-0000-00000AD702A2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 122.248.162.6 Cc: aarcange@redhat.com, Lei Li , quintela@redhat.com, mrhines@linux.vnet.ibm.com, aliguori@amazon.com, lagarcia@br.ibm.com, pbonzini@redhat.com, rcj@linux.vnet.ibm.com Subject: [Qemu-devel] [PATCH 01/17] QAPI: introduce migration capability x_unix_page_flipping 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 Introduce x_unix_page_flipping to MigrationCapability for localhost migration. Signed-off-by: Paolo Bonzini Signed-off-by: Lei Li --- qapi-schema.json | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 83fa485..ea910ef 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -685,10 +685,20 @@ # @auto-converge: If enabled, QEMU will automatically throttle down the guest # to speed up convergence of RAM migration. (since 1.6) # +# @x-unix-page-flipping: If enabled, QEMU can optimize migration when the +# destination is a QEMU process that runs on the same host as +# the source (as is the case for live upgrade). If the migration +# transport is a Unix socket, QEMU will flip RAM pages directly to +# the destination, so that memory is only allocated twice for the +# source and destination processes. Disabled by default. +# Experimental: will get rid of the x tag after further testing with +# the new vmsplice. (since 2.0) +# # Since: 1.2 ## { 'enum': 'MigrationCapability', - 'data': ['xbzrle', 'x-rdma-pin-all', 'auto-converge', 'zero-blocks'] } + 'data': ['xbzrle', 'x-rdma-pin-all', 'auto-converge', 'zero-blocks', + 'x-unix-page-flipping'] } ## # @MigrationCapabilityStatus