From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4tFs-0003gy-Qd for qemu-devel@nongnu.org; Tue, 16 Jun 2015 11:58:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4tFn-00041G-AB for qemu-devel@nongnu.org; Tue, 16 Jun 2015 11:58:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4tFn-00040x-46 for qemu-devel@nongnu.org; Tue, 16 Jun 2015 11:58:23 -0400 Date: Tue, 16 Jun 2015 16:58:17 +0100 From: "Dr. David Alan Gilbert" Message-ID: <20150616155816.GD2119@work-vm> References: <1434450415-11339-1-git-send-email-dgilbert@redhat.com> <1434450415-11339-18-git-send-email-dgilbert@redhat.com> <5580443A.6050306@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5580443A.6050306@redhat.com> Subject: Re: [Qemu-devel] [PATCH v7 17/42] Add migration-capability boolean for postcopy-ram. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: aarcange@redhat.com, yamahata@private.email.ne.jp, quintela@redhat.com, liang.z.li@intel.com, qemu-devel@nongnu.org, luis@cs.umu.se, amit.shah@redhat.com, pbonzini@redhat.com, david@gibson.dropbear.id.au * Eric Blake (eblake@redhat.com) wrote: > On 06/16/2015 04:26 AM, Dr. David Alan Gilbert (git) wrote: > > From: "Dr. David Alan Gilbert" > > > > The 'postcopy ram' capability allows postcopy migration of RAM; > > note that the migration starts off in precopy mode until > > postcopy mode is triggered (see the migrate_start_postcopy > > patch later in the series). > > > > Signed-off-by: Dr. David Alan Gilbert > > --- > > include/migration/migration.h | 1 + > > migration/migration.c | 23 +++++++++++++++++++++++ > > qapi-schema.json | 6 +++++- > > 3 files changed, 29 insertions(+), 1 deletion(-) > > > > > +++ b/qapi-schema.json > > @@ -526,11 +526,15 @@ > > # @auto-converge: If enabled, QEMU will automatically throttle down the guest > > # to speed up convergence of RAM migration. (since 1.6) > > # > > +# @x-postcopy-ram: Start executing on the migration target before all of RAM has > > +# been migrated, pulling the remaining pages along as needed. NOTE: If > > +# the migration fails during postcopy the VM will fail. (since 2.4) > > Marking it experimental because it might change? Or is the interface > pretty stable, but you want more testing time to minimize bugs? It's easy enough to remove the x- once we're all happy; it seems pretty stable at the moment but when we're done I'll just submit a one liner to take the x- off. Dave > Reviewed-by: Eric Blake > > -- > Eric Blake eblake redhat com +1-919-301-3266 > Libvirt virtualization library http://libvirt.org > -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK