From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=34108 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwiDc-0007Oh-Kz for qemu-devel@nongnu.org; Mon, 07 Mar 2011 16:43:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwiDb-00031Q-4L for qemu-devel@nongnu.org; Mon, 07 Mar 2011 16:43:56 -0500 Received: from e3.ny.us.ibm.com ([32.97.182.143]:43781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwiDa-00031M-Ut for qemu-devel@nongnu.org; Mon, 07 Mar 2011 16:43:55 -0500 Received: from d01dlp02.pok.ibm.com (d01dlp02.pok.ibm.com [9.56.224.85]) by e3.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id p27LN5eV010162 for ; Mon, 7 Mar 2011 16:23:44 -0500 Received: from d01relay05.pok.ibm.com (d01relay05.pok.ibm.com [9.56.227.237]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id 398126E804F for ; Mon, 7 Mar 2011 16:43:49 -0500 (EST) Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay05.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p27LhnmQ206284 for ; Mon, 7 Mar 2011 16:43:49 -0500 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p27Lhmbw004115 for ; Mon, 7 Mar 2011 16:43:48 -0500 Message-ID: <4D755190.6020101@us.ibm.com> Date: Mon, 07 Mar 2011 15:43:44 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <1299528642-23631-1-git-send-email-mdroth@linux.vnet.ibm.com> In-Reply-To: <1299528642-23631-1-git-send-email-mdroth@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [RFC][PATCH v7 00/16] virtagent: host/guest communication agent List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Roth Cc: agl@linux.vnet.ibm.com, stefanha@linux.vnet.ibm.com, markus_mueller@de.ibm.com, qemu-devel@nongnu.org, Jes.Sorensen@redhat.com, abeekhof@redhat.com On 03/07/2011 02:10 PM, Michael Roth wrote: > These patches apply to master (3-07-2011), and can also be obtained from: > git://repo.or.cz/qemu/mdroth.git virtagent_v7 > > CHANGES IN V7: > > - Removed dependency on xmlrpc-c for data transport. Now using JSON via QEMU's qjson qobject<->json conversion routines. Binary encoding mechanisms such as Protocol Buffers and ASN.1/BER were considered, but due to limited library support, and limitations of isa/virtio serial transport that would have required an additional layer of encoding to reliably determine RPC boundaries during transport (more here: http://www.mail-archive.com/qemu-devel@nongnu.org/msg56237.html), qobject<->json seemed to be the most prudent route. Then it needs to be based on QAPI. No point in reinventing the wheel. It won't be bidirectional though. The guest will only be able to post events. Regards, Anthony Liguori