From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJ8Mg-0003Xg-7U for qemu-devel@nongnu.org; Tue, 23 Jun 2009 11:56:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJ8Ma-0003Qe-Vk for qemu-devel@nongnu.org; Tue, 23 Jun 2009 11:56:52 -0400 Received: from [199.232.76.173] (port=41684 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJ8MZ-0003P8-J5 for qemu-devel@nongnu.org; Tue, 23 Jun 2009 11:56:47 -0400 Received: from e5.ny.us.ibm.com ([32.97.182.145]:54826) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MJ8MZ-0001Ys-6O for qemu-devel@nongnu.org; Tue, 23 Jun 2009 11:56:47 -0400 Received: from d01relay07.pok.ibm.com (d01relay07.pok.ibm.com [9.56.227.147]) by e5.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n5NFoMsb014823 for ; Tue, 23 Jun 2009 11:50:22 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d01relay07.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n5NFuVt61265688 for ; Tue, 23 Jun 2009 11:56:33 -0400 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n5NFuOiH018560 for ; Tue, 23 Jun 2009 09:56:26 -0600 Message-ID: <4A40FB26.2040702@us.ibm.com> Date: Tue, 23 Jun 2009 10:56:22 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 01/11] QMP: Introduce specification file References: <20090623012811.53a62493@doriath> <20090623144521.GA614@snarc.org> <4A40FB11.8090100@redhat.com> In-Reply-To: <4A40FB11.8090100@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: ehabkost@redhat.com, jan.kiszka@siemens.com, dlaor@redhat.com, qemu-devel@nongnu.org, Luiz Capitulino , Vincent Hanquez Avi Kivity wrote: > On 06/23/2009 05:45 PM, Vincent Hanquez wrote: >> >> At this point my personal suggestion would be jsonrpc: >> >> - it's easy to parse (even in C) >> - it's text with markup >> - easy to generate >> - support utf-8 >> - quoted string >> - it's not ugly to read (compare to xml) >> - can be embedded directly (no more library dependancy for qemu) in >> the code >> - lots of language have json library making the interaction with the >> monitor >> easy from the other side >> > > - supports passing structure > - supports notifications > - supports asynchronous commands > > seems quite nice. I'd rather not do json. As they stand, I think the current patch set is very close to being mergable. I'd rather not go off on a new tangent. Regards, Anthony Liguori -- Regards, Anthony Liguori