|
From: | Alexander E. Patrakov |
Subject: | [Qemu-devel] Re: Any interest in an option to use an existing tun/tap device? |
Date: | Wed, 18 Aug 2004 15:15:44 +0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040121 |
Jesus M. Salvo Jr. wrote:
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. ThanksI 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.
(not tested, but might work in bash) qemu -other-options -tun-fd 3 3<>/dev/net/tun -- Alexander E. Patrakov
[Prev in Thread] | Current Thread | [Next in Thread] |