qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] tun/tap networking


From: Jean-Christian de Rivaz
Subject: Re: [Qemu-devel] tun/tap networking
Date: Sat, 01 Oct 2005 23:17:39 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050817)

Jim C. Brown a écrit :
On Sat, Oct 01, 2005 at 10:24:03PM +0200, Jean-Christian de Rivaz wrote:

And qemu already supports that, via the -tun-fd option.

Can you please give me an exemple how to use the -tun-fd option to open an existing tun (i.e: tun-alice) ? This option only work for already opened tap/tun interface as I understand.



I see what you mean now. qemu itself has no direct support for persistent tuntap
devices.

However, I imagine that one could modify tundev.c or tapdev.c to open a 
persistent
tuntap device (by name) and then pass the fd to qemu via -tun-fd. It would be
better if qemu had direct support for them of course.

Where are this tundev.c or tapdev.c files ? I just updated qemu from CVS and I found no files named like this.

address@hidden:~/qemu/qemu$ cvs -qz9 update -AdP
? tun2.patch
M qemu-doc.texi
M vl.c
address@hidden:~/qemu/qemu$ find . -type f -name "t*dev*"
address@hidden:~/qemu/qemu$

--
Jean-Christian de Rivaz




reply via email to

[Prev in Thread] Current Thread [Next in Thread]