From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uu7eu-0004P7-4y for qemu-devel@nongnu.org; Tue, 02 Jul 2013 16:58:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uu7et-0000jO-5D for qemu-devel@nongnu.org; Tue, 02 Jul 2013 16:58:44 -0400 Received: from e37.co.us.ibm.com ([32.97.110.158]:41159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uu7es-0000jK-UJ for qemu-devel@nongnu.org; Tue, 02 Jul 2013 16:58:43 -0400 Received: from /spool/local by e37.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 2 Jul 2013 14:58:42 -0600 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by d03dlp02.boulder.ibm.com (Postfix) with ESMTP id CB5353E4004E for ; Tue, 2 Jul 2013 14:58:19 -0600 (MDT) Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r62KwZ6k150066 for ; Tue, 2 Jul 2013 14:58:37 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r62KwWTk004872 for ; Tue, 2 Jul 2013 14:58:33 -0600 From: Anthony Liguori In-Reply-To: <51D3314F.1070609@redhat.com> References: <1371644677-11041-1-git-send-email-akong@redhat.com> <878v1pqak4.fsf@codemonkey.ws> <51D2F1B3.1080903@redhat.com> <20130702153945.GZ2524@redhat.com> <51D3035A.1060605@redhat.com> <877gh8j012.fsf@codemonkey.ws> <51D3314F.1070609@redhat.com> Date: Tue, 02 Jul 2013 15:58:26 -0500 Message-ID: <87zju4wufh.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH] full introspection support for QMP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qiaonuohan@cn.fujitsu.com, lcapitulino@redhat.com, Amos Kong , qemu-devel@nongnu.org, armbru@redhat.com Paolo Bonzini writes: > Il 02/07/2013 20:21, Anthony Liguori ha scritto: >>> > >>> > Indeed, I wouldn't mind a one-time pass over qapi-schema.json to make it >>> > follow a more rigid format if that made it easier to use it as-is with >>> > less post-processing. It won't be very nice to backport such a >>> > conversion, but I don't know how much distros are planning on >>> > backporting introspection in the first place. >> We consume the schema in QEMU. No reason for us to consume it in a >> different format than libvirt. > > One reason could be that qapi-schema.json, as written, lacks a schema > that can be expressed itself using QAPI. Yup, but how much does that matter in practice? At any rate, if we wanted to solve this problem--a self-describing schema--we should do it in qapi-schema.json too. Regards, Anthony Liguori > > Paolo