From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NupxG-0005GP-1k for qemu-devel@nongnu.org; Thu, 25 Mar 2010 12:30:46 -0400 Received: from [140.186.70.92] (port=53135 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nupx9-0005AW-N5 for qemu-devel@nongnu.org; Thu, 25 Mar 2010 12:30:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nupx4-0002vB-Pf for qemu-devel@nongnu.org; Thu, 25 Mar 2010 12:30:39 -0400 Received: from cantor2.suse.de ([195.135.220.15]:41815 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nupx4-0002uZ-IZ for qemu-devel@nongnu.org; Thu, 25 Mar 2010 12:30:34 -0400 Message-ID: <4BAB8FA4.6000803@suse.de> Date: Thu, 25 Mar 2010 17:30:28 +0100 From: Alexander Graf MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [libvirt] Supporting hypervisor specific APIs in libvirt References: <4BAA6CD9.6060001@redhat.com> <20100324171219.4365318b@redhat.com> <4BAA76EA.2060601@codemonkey.ws> <20100324182501.000b69a7@redhat.com> <4BAA86C2.4020701@codemonkey.ws> <4BAB1E21.8080009@snarc.org> <20100325135922.GB10705@redhat.com> <20100325145652.GA25506@snarc.org> <20100325150720.GH10705@redhat.com> <20100325151424.GB25506@snarc.org> <20100325151644.GI10705@redhat.com> <4BAB88EA.3020509@codemonkey.ws> In-Reply-To: <4BAB88EA.3020509@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: "libvir-list@redhat.com" , qemu-devel@nongnu.org, Luiz Capitulino , Paul Brook , Vincent Hanquez , Avi Kivity Anthony Liguori wrote: > On 03/25/2010 10:16 AM, Daniel P. Berrange wrote: >> On Thu, Mar 25, 2010 at 03:14:24PM +0000, Vincent Hanquez wrote: >> >>> On Thu, Mar 25, 2010 at 03:07:20PM +0000, Daniel P. Berrange wrote: >>> >>>> I agree apps shouldn't use it for RPC, but admins using the >>>> interactive user >>>> monitor are just as deserving of stable commands& args. >>>> >>> I think, once QMP is completely there, admins would be better using >>> a qemu-cmd >>> that's just serialise it's command line arguments into a JSON command. >>> >> Then, after a qemu-cmd is introduced, we should mark the user monitor >> deprecated >> along with a specific date/release its future for removal. >> > > I'm not sure. The human monitor has some features that are not > appropriate for QMP. For instance, the ability to deal with formula > input and some commands meant to add debugging. > > I guess you could do that in qemu-cmd but I don't see a compelling > reason to. As I mentioned before, I'd love to see the qemu binary (incl. monitor interface) being implemented as a pure QMP user. Then libvirt and friends can be 100% that they can achieve everything using QMP because we don't live in the same address space anymore and can't pull tricks. Alex