From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SukuV-0001C2-Vj for qemu-devel@nongnu.org; Fri, 27 Jul 2012 09:49:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SukuQ-0004VD-50 for qemu-devel@nongnu.org; Fri, 27 Jul 2012 09:48:55 -0400 Received: from e32.co.us.ibm.com ([32.97.110.150]:33496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SukuP-0004V9-UD for qemu-devel@nongnu.org; Fri, 27 Jul 2012 09:48:50 -0400 Received: from /spool/local by e32.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 27 Jul 2012 07:48:47 -0600 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by d03dlp02.boulder.ibm.com (Postfix) with ESMTP id 9206E3E40060 for ; Fri, 27 Jul 2012 13:46:12 +0000 (WET) Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q6RDjxjL141146 for ; Fri, 27 Jul 2012 07:46:06 -0600 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q6RDjsL0017452 for ; Fri, 27 Jul 2012 07:45:55 -0600 From: Anthony Liguori In-Reply-To: <501294DB.1050304@suse.de> References: <1343249431-9245-1-git-send-email-lcapitulino@redhat.com> <87ehnyv7p8.fsf@blackfin.pond.sub.org> <50116A48.1050307@redhat.com> <20120726133724.293bf8b1@doriath.home> <501294DB.1050304@suse.de> Date: Fri, 27 Jul 2012 08:45:51 -0500 Message-ID: <87wr1pe2r4.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC 00/14]: add printf-like human msg to error_set() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?utf-8?Q?F=C3=A4rber?= , Luiz Capitulino Cc: peter.maydell@linaro.org, Paolo Bonzini , Markus Armbruster , qemu-devel@nongnu.org Andreas F=C3=A4rber writes: > Am 26.07.2012 18:37, schrieb Luiz Capitulino: >> On Thu, 26 Jul 2012 18:03:20 +0200 >> Paolo Bonzini wrote: >>=20 >>> Il 26/07/2012 17:54, Markus Armbruster ha scritto: >>>> Unlike Anthony, I think this is a move in the right direction. >>> >>> Me too, but I would like to understand how it fits with the >>> qapi-schema-errors.json. Do we actually need a schema if the messages >>> are flat? >>=20 >> Yes, we need it because we still an error object to obey (ie. the data m= ember). >>=20 >> But we're talking about dropping that, so it might be possible to kill >> the schema. > > I'm not so familiar with how all this error infrastructure is plugged > together... > > In a different thread that I mentioned recently (and still haven't found > in my inbox), we were talking about changing the JSON encoding of errors > where unused by libvirt. Specifically we were talking about having a > field for the canonical QOM path of the affected object in place of the > often-empty device ID. > > Are you now discussing to drop any such elaborated QMP schemes in place > of just one non-parsable human error message string? See the other note I sent out for a description of the plan. It's english string + error code. Regards, Anthony Liguori > > Andreas > > --=20 > SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany > GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3= =BCrnberg