From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZisM-00015Z-1f for qemu-devel@nongnu.org; Fri, 25 Oct 2013 11:00:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZis5-0000Z2-7n for qemu-devel@nongnu.org; Fri, 25 Oct 2013 11:00:33 -0400 Received: from e23smtp09.au.ibm.com ([202.81.31.142]:52570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZis4-0000SJ-I7 for qemu-devel@nongnu.org; Fri, 25 Oct 2013 11:00:17 -0400 Received: from /spool/local by e23smtp09.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 26 Oct 2013 01:00:12 +1000 Received: from d23relay03.au.ibm.com (d23relay03.au.ibm.com [9.190.235.21]) by d23dlp02.au.ibm.com (Postfix) with ESMTP id 6CE9A2BB0053 for ; Sat, 26 Oct 2013 02:00:09 +1100 (EST) Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay03.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r9PExuTD10879478 for ; Sat, 26 Oct 2013 01:59:57 +1100 Received: from d23av02.au.ibm.com (localhost [127.0.0.1]) by d23av02.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r9PF07qo001771 for ; Sat, 26 Oct 2013 02:00:07 +1100 From: Lei Li Date: Fri, 25 Oct 2013 22:59:57 +0800 Message-Id: <1382713199-7829-2-git-send-email-lilei@linux.vnet.ibm.com> In-Reply-To: <1382713199-7829-1-git-send-email-lilei@linux.vnet.ibm.com> References: <1382713199-7829-1-git-send-email-lilei@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 1/3] QAPI: introduce magration capability unix_page_flipping List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: lagarcia@br.ibm.com, pbonzini@redhat.com, Lei Li , aliguori@amazon.com, quintela@redhat.com Introduce unix_page_flipping to MigrationCapability for localhost migration. Signed-off-by: Paolo Bonzini Signed-off-by: Lei Li --- qapi-schema.json | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 60f3fd1..7cb88af 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -661,10 +661,18 @@ # @auto-converge: If enabled, QEMU will automatically throttle down the guest # to speed up convergence of RAM migration. (since 1.6) # +# @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. (since 1.8) +# # 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', + 'unix-page-flipping'] } ## # @MigrationCapabilityStatus -- 1.7.7.6