tech-kern archive

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

Re: Fixing tap(4) behaviour



On Sat, Nov 29, 2008 at 03:05:46PM -0500, Arnaud Lacombe wrote:
> Hi Folks,
> 
> People currently using qemu(1) need to use a dirty static fd-based
> trick to link the created interface to qemu(1). This is due to the
> fact that 1) qemu doesn't check the return value of the stat(2)
> syscall and 2) our tap(4) cloner device provide nothing to know the
> created interface's unit. I fixed this by making the cloner device

That's not true.  You should have read tap(4)'s manual page.  Besides,
I have always told people how qemu was supposed to do that, and I think
that someone had actually made a patch for qemu at some point but I
guess it was lost.

-- 
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgpwDNN30fNym.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index