qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH v3] QMP: Introduce the documentation for query-n


From: Miguel Di Ciurcio Filho
Subject: [Qemu-devel] Re: [PATCH v3] QMP: Introduce the documentation for query-netdev and info netdev
Date: Tue, 22 Jun 2010 10:20:03 -0300

On Tue, Jun 22, 2010 at 10:06 AM, Luiz Capitulino
<address@hidden> wrote:
> On Mon, 21 Jun 2010 17:31:28 -0300
> Miguel Di Ciurcio Filho <address@hidden> wrote:
>
>> These commands show the information about active backend network devices.
>>
>> Changes from v2
>> ---------------
>> - Got rid of vlans, a separate command for them will be created if needed
>> - Removed socket as a type (it is used to connect vlans)
>> - 'script', 'downscript' and 'vhostfd' are now optional when type is 'tap'
>> - Reworded the explanation of 'peer'
>>
>> Signed-off-by: Miguel Di Ciurcio Filho <address@hidden>
>> ---
>>  qemu-monitor.hx |   96 
>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>  1 files changed, 96 insertions(+), 0 deletions(-)
>>
>> diff --git a/qemu-monitor.hx b/qemu-monitor.hx
>> index 9f62b94..cffd69e 100644
>> --- a/qemu-monitor.hx
>> +++ b/qemu-monitor.hx
>> @@ -1674,6 +1674,102 @@ show the various VLANs and the associated devices
>>  ETEXI
>>
>>  STEXI
>> address@hidden info netdev
>> +show information about the current backend network devices
>> +ETEXI
>> +SQMP
>> +query-netdev
>> +------------
>> +
>> +Each device is represented by a json-object. The returned value is a 
>> json-array
>> +of all devices.
>> +
>> +Each json-object contains the following:
>> +
>> +- "id": the device's ID, must be unique (json-string)
>> +- "type": device type (json-string)
>> +    - Possible values: "tap", "user", "vde"
>
>  What has happened to socket? Looks good otherwise.
>

Socket does not support an 1:1 relationship and it is used just to
connect vlans, as I explained in the changelog.

$ qemu -netdev type=socket,listen=:3000,id=ss -device e1000,netdev=ss
qemu: -device e1000,netdev=ss: Property 'e1000.netdev' can't find value 'ss'

Regards,

Miguel



reply via email to

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