From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi4p2-00006a-8v for qemu-devel@nongnu.org; Tue, 14 Apr 2015 13:40:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yi4oz-0007Nh-31 for qemu-devel@nongnu.org; Tue, 14 Apr 2015 13:40:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi4oy-0007NI-Rd for qemu-devel@nongnu.org; Tue, 14 Apr 2015 13:40:25 -0400 Date: Tue, 14 Apr 2015 18:40:17 +0100 From: "Dr. David Alan Gilbert" Message-ID: <20150414174016.GF2299@work-vm> References: <1429031053-4454-1-git-send-email-dgilbert@redhat.com> <1429031053-4454-27-git-send-email-dgilbert@redhat.com> <552D5083.2070604@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <552D5083.2070604@redhat.com> Subject: Re: [Qemu-devel] [PATCH v6 26/47] 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, yamahata@private.email.ne.jp, quintela@redhat.com, qemu-devel@nongnu.org, amit.shah@redhat.com, pbonzini@redhat.com, david@gibson.dropbear.id.au * Eric Blake (eblake@redhat.com) wrote: > On 04/14/2015 11:03 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 > > @@ -566,6 +566,14 @@ > > { 'command': 'query-migrate-capabilities', 'returns': ['MigrationCapabilityStatus']} > > > > ## > > +# @migrate-start-postcopy > > +# > > +# Switch migration to postcopy mode > > +# > > +# Since: 2.3 > > 2.4 Thanks, fixed. Dave > > +{ 'command': 'migrate-start-postcopy' } > > + > > As that's easily fixable by the maintainer, my R-b stands. > > -- > Eric Blake eblake redhat com +1-919-301-3266 > Libvirt virtualization library http://libvirt.org > -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK