qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 16/19] Add a query-netdev command to QMP


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH 16/19] Add a query-netdev command to QMP
Date: Sat, 26 Jun 2010 09:32:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Anthony Liguori <address@hidden> writes:

> On 06/07/2010 09:42 AM, Daniel P. Berrange wrote:
>> This adds a new QMP command called query-netdev to provide information
>> about the available netdev backends in the QEMU binary. There is no
>> existing '-netdev ?' support, but if there was, this would obsolete it
>>
>> The data format looks like
>>
>>      [
>>          {
>>              "name": "user",
>>              "props": [
>>                  {
>>                      "name": "type",
>>                      "help": "net client type (nic, tap etc.)",
>>                      "type": "string"
>>                  },
>>    
>
> I'm not sure it's a good idea to expose the help text.  That bakes it
> into the ABI which seems bad.

Bah.  Tell clients "this part is informative and not ABI, and you'll die
a horrible death if you parse it", then change it a couple of times to
drive the point home.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]