|
From: | Paolo Bonzini |
Subject: | [Qemu-devel] Re: [PATCH 14/19] Add a query-argv command to QMP |
Date: | Thu, 10 Jun 2010 17:34:35 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Thunderbird/3.0.4 |
On 06/07/2010 05:01 PM, Anthony Liguori wrote:
On 06/07/2010 09:42 AM, Daniel P. Berrange wrote:Add a new QMP command called 'query-argv' to information about the command line arguments supported by the QEMU binary. This is intended to remove the need for apps to parse '-help' output.This is just as bad as parsing -help output IMHO. The problem with something like this is that it discourages people from using proper APIs to get at capabilities information.
What about a query-qemuopts instead? This has a well-defined schema and, while it won't let you get all arguments, going forward libvirt is going to try and use more qemuopts options and only the bare minimum legacy options (-incoming, -S).
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |