From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sgw4X-0000n3-Iw for qemu-devel@nongnu.org; Tue, 19 Jun 2012 06:54:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sgw4R-0003PZ-5n for qemu-devel@nongnu.org; Tue, 19 Jun 2012 06:54:09 -0400 Received: from smtp.eu.citrix.com ([62.200.22.115]:17677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sgw4R-0003Ov-0V for qemu-devel@nongnu.org; Tue, 19 Jun 2012 06:54:03 -0400 Message-ID: <4FE05A45.7090905@citrix.com> Date: Tue, 19 Jun 2012 11:53:57 +0100 From: Roger Pau Monne MIME-Version: 1.0 References: <4FDF38DD.1060102@citrix.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Status of query-netdev QMP command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: "qemu-devel@nongnu.org" , Luiz Capitulino Stefan Hajnoczi wrote: > On Mon, Jun 18, 2012 at 3:19 PM, Roger Pau Monne wrote: >> I've read from the GSoC/2010 that some work was being done creating a >> query-netdev QMP command: >> >> http://wiki.qemu.org/Google_Summer_of_Code_2010/QMP#query-netdev >> >> The status says that "mentor has merged it into his tree", but I cannot see >> this command anywhere upstream, and it will come really handy for what I'm >> trying to do, do someone know where this has gone? > > I checked qemu.git/master and don't see it either. The HMP "info net" > command lists the net devices but I'm not aware of a QMP equivalent. > What are you trying to do? On Linux you can pass the name of the tap device you wish to create, and Qemu honors that, but on BSD systems you have no way of creating a tap device with a specific name, they are assigned based on the lowest free number (tap2 for example). I need the query-netdev command in order to get the name of the device that Qemu creates, so I can use it in my scripts afterwards. Roger.