From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhKCR-0004mg-Oj for qemu-devel@nongnu.org; Wed, 30 Sep 2015 12:25:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhKCO-0001EG-62 for qemu-devel@nongnu.org; Wed, 30 Sep 2015 12:25:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhKCN-0001Ds-NS for qemu-devel@nongnu.org; Wed, 30 Sep 2015 12:25:43 -0400 References: <1443515898-3594-1-git-send-email-dgilbert@redhat.com> <1443515898-3594-29-git-send-email-dgilbert@redhat.com> From: Eric Blake Message-ID: <560C0D01.2020502@redhat.com> Date: Wed, 30 Sep 2015 10:25:37 -0600 MIME-Version: 1.0 In-Reply-To: <1443515898-3594-29-git-send-email-dgilbert@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EAFvosaWMGN2IbuAWkAC5C3k0EQLgT1n0" 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: "Dr. David Alan Gilbert (git)" , qemu-devel@nongnu.org, quintela@redhat.com, amit.shah@redhat.com Cc: aarcange@redhat.com, pbonzini@redhat.com, liang.z.li@intel.com, luis@cs.umu.se, bharata@linux.vnet.ibm.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EAFvosaWMGN2IbuAWkAC5C3k0EQLgT1n0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/29/2015 02:37 AM, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" >=20 > Once postcopy is enabled (with migrate_set_capability), the migration > will still start on precopy mode. To cause a transition into postcopy > the: >=20 > migrate_start_postcopy >=20 > command must be issued. Postcopy will start sometime after this > (when it's next checked in the migration loop). >=20 > Issuing the command before migration has started will error, > and issuing after it has finished is ignored. >=20 > 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' } } > =20 > ## > +# @migrate-start-postcopy > +# > +# Switch migration to postcopy mode > +# > +# Since: 2.4 2.5, now. > +{ 'command': 'migrate-start-postcopy' } > + > +## --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --EAFvosaWMGN2IbuAWkAC5C3k0EQLgT1n0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWDA0BAAoJEKeha0olJ0NqsnYH/2XBEuh6dLk/vqKKqcy31guR Bx9UOa2wMEIszKhA23QG8/M7yimpHOR2EOj1rjRJ3D1z2NmlGvnaVMlX3BucrdIJ tf8s8M2CZnojG4g1KwdXFrMQe7RRTrEh5Xjok6IMSy9KOYuv1CYIL4rGJ68uwIb4 15q21Ma7UKyuxVjrR/ULqdmJFozPt/TZIfYwNPYCdpmLbIVy0bdfcO0XI9KDAWpD BnbzMgpK37PdtOhPoQv4FAJ3ciycVb5kcobaB24I9q2iC7OBic70QLzuyJSQicVL wqKhkNJolLbDi0r+SGA31vpJY0t2uqrMWYnsb1gPXskRcQtZ3DT5zxdmwL7jhMA= =l3qk -----END PGP SIGNATURE----- --EAFvosaWMGN2IbuAWkAC5C3k0EQLgT1n0--