From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5wlq-0003e6-Mg for qemu-devel@nongnu.org; Thu, 26 May 2016 11:00:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5wln-0005tI-HZ for qemu-devel@nongnu.org; Thu, 26 May 2016 11:00:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5wln-0005t9-BE for qemu-devel@nongnu.org; Thu, 26 May 2016 11:00:19 -0400 References: From: Eric Blake Message-ID: <57470F7C.8020308@redhat.com> Date: Thu, 26 May 2016 09:00:12 -0600 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2gTumdviV6RRhe63CpsqLqC3eO0A6o5ck" Subject: Re: [Qemu-devel] [PULL 10/28] migration: add reporting of errors for outgoing migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah , Peter Maydell Cc: qemu list , "Dr. David Alan Gilbert" , Juan Quintela This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2gTumdviV6RRhe63CpsqLqC3eO0A6o5ck Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 05/26/2016 12:12 AM, Amit Shah wrote: > From: "Daniel P. Berrange" >=20 > Currently if an application initiates an outgoing migration, > it may or may not, get an error reported back on failure. If > the error occurs synchronously to the 'migrate' command > execution, the client app will see the error message. This > is the case for DNS lookup failures. If the error occurs > asynchronously to the monitor command though, the error > will be thrown away and the client left guessing about > what went wrong. This is the case for failure to connect > to the TCP server (eg due to wrong port, or firewall > rules, or other similar errors). >=20 > +++ b/qapi-schema.json > @@ -484,6 +484,10 @@ > # throttled during auto-converge. This is only present when aut= o-converge > # has started throttling guest cpus. (Since 2.7) > # > +# @error-desc: #optional the human readable error description string, = when > +# @status is 'failed'. Clients should not attempt to pars= e the > +# error strings. (Since 2.6) Since this is already in a pull request, we may need a followup patch to fix that to be 2.7. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --2gTumdviV6RRhe63CpsqLqC3eO0A6o5ck 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/ iQEcBAEBCAAGBQJXRw98AAoJEKeha0olJ0NqEXkH/3wWs21JZcjLF6g0DYM+33t5 BoCEsuB7TgigcTGYGw7uf+s876NTMSPJ92D+bDrGfAAz1O3Je7GezdzeBCX3nPXk EQs7NQbOaJPp7rw0CRwGolYm49f9QxtLUmnQ0abjQ+4FqmzVgPoeNsJ6oMsyYsm1 yi0XcapePaLt9C84hwZ+Mqjj64xDpb8JcfaX1TnhrKD/sRrKJIPGUFVGijVJCIom 6WCaKcxlXbKhL3g3JwpxBOjBkP5FxLE7d0oMtS0fj0iJN/vQSCAG0F1otYT7b5d7 v0kLZOyjLvzdFIqj4i+rbaE5UMRos40Yv0UL48v/B9VrwJP/N02a4tJDd8zlCsw= =mHUY -----END PGP SIGNATURE----- --2gTumdviV6RRhe63CpsqLqC3eO0A6o5ck--