From mboxrd@z Thu Jan 1 00:00:00 1970 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 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 From: Lei Li Date: Mon, 2 Dec 2013 17:19:01 +0800 Message-Id: <1385975957-22941-2-git-send-email-lilei@linux.vnet.ibm.com> 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> Subject: [Qemu-devel] [PATCH 01/17] QAPI: introduce migration capability x_unix_page_flipping List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 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 -- 1.7.7.6