From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BwrdV-0003PS-RR for qemu-devel@nongnu.org; Mon, 16 Aug 2004 20:15:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BwrdQ-0003LE-MC for qemu-devel@nongnu.org; Mon, 16 Aug 2004 20:15:33 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BwrdQ-0003L2-IC for qemu-devel@nongnu.org; Mon, 16 Aug 2004 20:15:28 -0400 Received: from [144.140.71.40] (helo=gizmo05ps.bigpond.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1BwrYw-0002aR-4t for qemu-devel@nongnu.org; Mon, 16 Aug 2004 20:10:50 -0400 Message-ID: <41214B89.4030908@migasia.com> Date: Tue, 17 Aug 2004 10:04:25 +1000 From: "Jesus M. Salvo Jr." MIME-Version: 1.0 Subject: Re: [Qemu-devel] Any interest in an option to use an existing tun/tap device? References: <874qn24t78.fsf@trouble.defaultvalue.org> In-Reply-To: <874qn24t78.fsf@trouble.defaultvalue.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Rob Browning wrote: >It would be nice if qemu could be configured to use an existing >tun/tap device rather than require root (or sudo) access. Would >others be interested in such an addition, perhaps "qemu -tun tun0" or >similar. > >User Mode Linux allows something similar. See the section "TUN/TAP >with a preconfigured tap device" at >http://user-mode-linux.sourceforge.net/networking.html. > >Thanks > I thought it already does, via the -tun-fd option ... though I have not seen an example of how to use this option / determine the file descriptor of an existing tun/tap interface, so I dont know how to use it as well. An example would be good.