From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhKH6-0005oz-3Y for qemu-devel@nongnu.org; Wed, 30 Sep 2015 12:30:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhKH1-0003Ql-QW for qemu-devel@nongnu.org; Wed, 30 Sep 2015 12:30:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhKH1-0003QB-LN for qemu-devel@nongnu.org; Wed, 30 Sep 2015 12:30:31 -0400 Date: Wed, 30 Sep 2015 17:30:25 +0100 From: "Dr. David Alan Gilbert" Message-ID: <20150930163024.GI2627@work-vm> References: <1443515898-3594-1-git-send-email-dgilbert@redhat.com> <1443515898-3594-29-git-send-email-dgilbert@redhat.com> <560C0D01.2020502@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <560C0D01.2020502@redhat.com> Subject: Re: [Qemu-devel] [PATCH v8 28/54] migrate_start_postcopy: Command to trigger transition to postcopy List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: aarcange@redhat.com, quintela@redhat.com, liang.z.li@intel.com, qemu-devel@nongnu.org, luis@cs.umu.se, bharata@linux.vnet.ibm.com, amit.shah@redhat.com, pbonzini@redhat.com * Eric Blake (eblake@redhat.com) wrote: > On 09/29/2015 02:37 AM, Dr. David Alan Gilbert (git) wrote: > > From: "Dr. David Alan Gilbert" > > > > Once postcopy is enabled (with migrate_set_capability), the migration > > will still start on precopy mode. To cause a transition into postcopy > > the: > > > > migrate_start_postcopy > > > > command must be issued. Postcopy will start sometime after this > > (when it's next checked in the migration loop). > > > > Issuing the command before migration has started will error, > > and issuing after it has finished is ignored. > > > > Signed-off-by: Dr. David Alan Gilbert > > Reviewed-by: Eric Blake > > --- > > > +++ b/qapi-schema.json > > @@ -670,6 +670,14 @@ > > '*tls-port': 'int', '*cert-subject': 'str' } } > > > > ## > > +# @migrate-start-postcopy > > +# > > +# Switch migration to postcopy mode > > +# > > +# Since: 2.4 > > 2.5, now. Fixed, thanks. Dave > > > +{ 'command': 'migrate-start-postcopy' } > > + > > +## > > -- > Eric Blake eblake redhat com +1-919-301-3266 > Libvirt virtualization library http://libvirt.org > -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK