From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=50790 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQiHD-00061v-7F for qemu-devel@nongnu.org; Mon, 21 Jun 2010 10:47:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OQiHB-0001J7-5C for qemu-devel@nongnu.org; Mon, 21 Jun 2010 10:47:07 -0400 Received: from goliath.siemens.de ([192.35.17.28]:21809) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQiHA-0001IC-No for qemu-devel@nongnu.org; Mon, 21 Jun 2010 10:47:05 -0400 Message-ID: <4C1F7B64.1040202@siemens.com> Date: Mon, 21 Jun 2010 16:47:00 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1276878387-9489-1-git-send-email-miguel.filho@gmail.com> <20100621114259.13e615ee@redhat.com> In-Reply-To: <20100621114259.13e615ee@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH v2] QMP: Introduce the documentation for query-netdev and info netdev List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: "armbru@redhat.com" , Miguel Di Ciurcio Filho , "qemu-devel@nongnu.org" , "avi@redhat.com" Luiz Capitulino wrote: > On Fri, 18 Jun 2010 13:26:27 -0300 > Miguel Di Ciurcio Filho wrote: > >> These commands show the information about active backend network devices. >> >> Signed-off-by: Miguel Di Ciurcio Filho >> --- >> qemu-monitor.hx | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> 1 files changed, 105 insertions(+), 0 deletions(-) >> >> diff --git a/qemu-monitor.hx b/qemu-monitor.hx >> index 9f62b94..8fc5ed6 100644 >> --- a/qemu-monitor.hx >> +++ b/qemu-monitor.hx >> @@ -1674,6 +1674,111 @@ show the various VLANs and the associated devices >> ETEXI >> >> STEXI >> +@item 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) > > There were some talking about changing this to 'device. Jan, Markus? Only for qdev. Should be a different namespace here. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux