From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=60259 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwyHT-0000EX-13 for qemu-devel@nongnu.org; Tue, 08 Mar 2011 09:52:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwyHQ-0000wn-Q6 for qemu-devel@nongnu.org; Tue, 08 Mar 2011 09:52:58 -0500 Received: from mx1.redhat.com ([209.132.183.28]:24493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwyHQ-0000w5-GH for qemu-devel@nongnu.org; Tue, 08 Mar 2011 09:52:56 -0500 Message-ID: <4D7642C1.90604@redhat.com> Date: Tue, 08 Mar 2011 16:52:49 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 00/22] QAPI Round 1 References: <1299460984-15849-1-git-send-email-aliguori@us.ibm.com> <4D7500C8.1080101@codemonkey.ws> <4D760F2B.7030004@redhat.com> <4D7630BA.4010609@us.ibm.com> <4D763311.5030905@redhat.com> <4D763525.2030700@codemonkey.ws> <4D763674.8000600@redhat.com> <4D7638BE.60808@codemonkey.ws> <4D763A61.2020809@redhat.com> <4D763F76.2020003@codemonkey.ws> In-Reply-To: <4D763F76.2020003@codemonkey.ws> 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: Anthony Liguori Cc: Stefan Hajnoczi , qemu-devel@nongnu.org, Markus Armbruster , Michael D Roth , Adam Litke , Luiz Capitulino On 03/08/2011 04:38 PM, Anthony Liguori wrote: > > http://wiki.qemu.org/Features/QAPI/GuestAgent > Nice. A couple of remarks. We may want to use a different way of separating the namespaces - enacapsulation: { 'command': 'guest-command', arguments: { 'command': 'read-file', 'arguments': { 'path': '/var/log/messages' } } } This serves to decouple the two protocols, which may have different support lifetimes (hopefully not). In addition to commands we may also implement a key-value store. A large number of commands may be easy to implement using a single key/value, and it's also easy to live migrate (key/values being stored in but not understood by qemu). -- error compiling committee.c: too many arguments to function