[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 2/8] QMP: Introduce the documentation for query-
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] Re: [PATCH 2/8] QMP: Introduce the documentation for query-netdev and info netdev |
Date: |
Wed, 16 Jun 2010 14:39:08 -0300 |
On Thu, 10 Jun 2010 18:36:59 -0300
Miguel Di Ciurcio Filho <address@hidden> wrote:
> These commands show the information about active backend network devices.
>
> Signed-off-by: Miguel Di Ciurcio Filho <address@hidden>
> ---
> qemu-monitor.hx | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 53 insertions(+), 0 deletions(-)
>
> diff --git a/qemu-monitor.hx b/qemu-monitor.hx
> index f6a94f2..14a0ba1 100644
> --- a/qemu-monitor.hx
> +++ b/qemu-monitor.hx
> @@ -1674,6 +1674,59 @@ 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 contain the following:
> +
> +- "id": the device's ID, must be unique (json-string)
> +- "vlan": QEMU's internal vlan identification. Only present if the device is
> + attached to a VLAN (json-int, optional)
> +- "peer": ID of the frontend device when on a 1:1 relationship (json-string,
> + optional)
'type' is missing.
> +- "info": json-object containing the configuration information about the
> device.
We need a list of all backends (maybe in 'type') and then we need to list all
possible cases for 'info'.
I have some other comments, otherwise looks good.
- [Qemu-devel] [PATCH 0/8] QMP: Introduce query-netdev, Miguel Di Ciurcio Filho, 2010/06/10
- [Qemu-devel] [PATCH 1/8] QObject API: introduce qdict_to_qstring() function, Miguel Di Ciurcio Filho, 2010/06/10
- [Qemu-devel] [PATCH 2/8] QMP: Introduce the documentation for query-netdev and info netdev, Miguel Di Ciurcio Filho, 2010/06/10
- [Qemu-devel] [PATCH 3/8] net: Introduce VLANClientState->info_dict, Miguel Di Ciurcio Filho, 2010/06/10
- [Qemu-devel] [PATCH 4/8] net: tap/tap-win32: introduce info_dict, Miguel Di Ciurcio Filho, 2010/06/10
- [Qemu-devel] [PATCH 5/8] net: vde: introduce info_dict, Miguel Di Ciurcio Filho, 2010/06/10
- [Qemu-devel] [PATCH 6/8] net: socket: introduce info_dict, Miguel Di Ciurcio Filho, 2010/06/10
- [Qemu-devel] [PATCH 7/8] net: slirp: introduce info_dict, Miguel Di Ciurcio Filho, 2010/06/10
- [Qemu-devel] [PATCH 8/8] monitor/net: introduce 'info netdev' with QMP support, Miguel Di Ciurcio Filho, 2010/06/10
- [Qemu-devel] Re: [PATCH 0/8] QMP: Introduce query-netdev, Luiz Capitulino, 2010/06/16