From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XePmX-0006Av-HP for qemu-devel@nongnu.org; Wed, 15 Oct 2014 10:42:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XePmS-0002jf-G3 for qemu-devel@nongnu.org; Wed, 15 Oct 2014 10:42:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XePmS-0002jK-8O for qemu-devel@nongnu.org; Wed, 15 Oct 2014 10:42:24 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9FEgM0V008938 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 15 Oct 2014 10:42:23 -0400 Message-ID: <543E87CD.9010305@redhat.com> Date: Wed, 15 Oct 2014 08:42:21 -0600 From: Eric Blake MIME-Version: 1.0 References: <1413359710-2799-1-git-send-email-quintela@redhat.com> <1413359710-2799-5-git-send-email-quintela@redhat.com> In-Reply-To: <1413359710-2799-5-git-send-email-quintela@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="NdKEvgHQ5dVSq8aIraft9aAw1CkBUKL9B" Subject: Re: [Qemu-devel] [PATCH 4/7] runstate: migration allows more transitions now List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juan Quintela , qemu-devel@nongnu.org Cc: kwolf@redhat.com, laine@redhat.com, lcapitulino@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NdKEvgHQ5dVSq8aIraft9aAw1CkBUKL9B Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/15/2014 01:55 AM, Juan Quintela wrote: > Next commit would allow to move from incoming migration to error happen= ing on source. >=20 > Should we add more states to this transition? Luiz? Does this mean we can finally do S3 migration without forcing the guest to wake up from S3 on the destination? >=20 > Signed-off-by: Juan Quintela > --- > vl.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/vl.c b/vl.c > index c4bc43c..1788b6a 100644 > --- a/vl.c > +++ b/vl.c > @@ -618,6 +618,8 @@ static const RunStateTransition runstate_transition= s_def[] =3D { >=20 > { RUN_STATE_INMIGRATE, RUN_STATE_RUNNING }, > { RUN_STATE_INMIGRATE, RUN_STATE_PAUSED }, > + { RUN_STATE_INMIGRATE, RUN_STATE_INTERNAL_ERROR }, > + { RUN_STATE_INMIGRATE, RUN_STATE_IO_ERROR }, >=20 > { RUN_STATE_INTERNAL_ERROR, RUN_STATE_PAUSED }, > { RUN_STATE_INTERNAL_ERROR, RUN_STATE_FINISH_MIGRATE }, >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --NdKEvgHQ5dVSq8aIraft9aAw1CkBUKL9B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUPofNAAoJEKeha0olJ0NqWrUH/3hQYCevH/0jHpjiG+3Ju7ei B2Yal1Cid0qIBXjGPZ1RCngj3Cm5YZu9HfW0fu5/OfWaRVM0hH1iCHFgitv1Ezo9 0uax0i8G+dqXHzZgI5zObqTY48sOZb2s8+Q0DrPurPClqoO+jRXMlCljW7LnWhsR FSe6U/HFVhwy3fhvrjxwSfq8gokE1MvDSxPojAQZrpxJU5yG9xc1s8nhE8dibrGQ xiPpcvqO/RVBZOgnSjfgrWeNuBfclN69vc03qCkAy6mfqbWE6g0FkqeE15FqTn0B 3oOJhR20iNkaFFLe5znY/Ojtgom8Xqjm1K1ul3l+9U825D1FFdUauYJ5yHi93cA= =DvRF -----END PGP SIGNATURE----- --NdKEvgHQ5dVSq8aIraft9aAw1CkBUKL9B--