Received: from eggs.gnu.org ([2001:4830:134:3::10]:54658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1L3M-0006PG-W7 for qemu-devel@nongnu.org; Mon, 31 Oct 2016 18:27:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1L3J-0003Td-TA for qemu-devel@nongnu.org; Mon, 31 Oct 2016 18:27:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55522) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c1L3J-0003TY-Lf for qemu-devel@nongnu.org; Mon, 31 Oct 2016 18:27:37 -0400 References: <1477824430-1460-1-git-send-email-amit.shah@redhat.com> <1477824430-1460-4-git-send-email-amit.shah@redhat.com> From: Eric Blake Message-ID: <75e4c102-8057-90f6-28fd-9657dccc9b46@redhat.com> Date: Mon, 31 Oct 2016 17:27:35 -0500 MIME-Version: 1.0 In-Reply-To: <1477824430-1460-4-git-send-email-amit.shah@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EFACMrFUkAmvwisfJw8Rgv9sbSjIS9fpN" Subject: Re: [Qemu-devel] [PULL 03/18] migration: Enter into COLO mode after migration if COLO is enabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah , Peter Maydell Cc: qemu list , zhang.zhanghailiang@huawei.com, "Dr. David Alan Gilbert" , Juan Quintela This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EFACMrFUkAmvwisfJw8Rgv9sbSjIS9fpN From: Eric Blake To: Amit Shah , Peter Maydell Cc: qemu list , zhang.zhanghailiang@huawei.com, "Dr. David Alan Gilbert" , Juan Quintela Message-ID: <75e4c102-8057-90f6-28fd-9657dccc9b46@redhat.com> Subject: Re: [Qemu-devel] [PULL 03/18] migration: Enter into COLO mode after migration if COLO is enabled References: <1477824430-1460-1-git-send-email-amit.shah@redhat.com> <1477824430-1460-4-git-send-email-amit.shah@redhat.com> In-Reply-To: <1477824430-1460-4-git-send-email-amit.shah@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/30/2016 05:46 AM, Amit Shah wrote: > From: zhanghailiang >=20 > Add a new migration state: MIGRATION_STATUS_COLO. Migration source side= > enters this state after the first live migration successfully finished > if COLO is enabled by command 'migrate_set_capability x-colo on'. >=20 > We reuse migration thread, so the process of checkpointing will be hand= led > in migration thread. >=20 > +++ b/qapi-schema.json > @@ -459,12 +459,14 @@ > # > # @failed: some error occurred during migration process. > # > +# @colo: VM is in the process of fault tolerance. (since 2.8) > +# The commit message mentions it, but the public documentation does not, so it might be worth a followup patch that clarifies in the schema that the 'colo' state is not possible without using the 'x-colo' migration property (so that applications like libvirt know that they don't have to worry about handling an unexpected state, at least not in 2.8 or until the 'x-colo' is promoted to plain 'colo'). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --EFACMrFUkAmvwisfJw8Rgv9sbSjIS9fpN 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/ iQEcBAEBCAAGBQJYF8VXAAoJEKeha0olJ0Nq3UYH/j2uh8ugHZqkevq5OJU5mVbj I/JZx27ll3jIybhADgdwyR/SrRMcUI/I6yYp2EblLpbPC9GzIIE6Fz1os0J2HDHv 5D0pG/rMqxWjHFQpxxQiyLBguaen7PVMHxmrNzJb0YZ5daKnLMAO5Zpm6hPKUT1Y 4gFSk0pt+4ixsNWWR2gbpp3xkORJErUDfOY3Am/uIH+hetf70d2yJ9HHpMgv6N7r fehr5IN8buC8qBOcCm0iaMvZm5Ih18KkUfFJ2IgH7mm9m/AbM08MRuNDk1PzQTSL wIzzk5CAZ3t2QztT0iY1X6VOpblB96tCyByUv0Jj2mF0Nso84dIGvNFVO7m9bNE= =65Bk -----END PGP SIGNATURE----- --EFACMrFUkAmvwisfJw8Rgv9sbSjIS9fpN--