qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 647793] Re: tap-bsd.c has no test for Mac OS X


From: Andreas Färber
Subject: [Qemu-devel] [Bug 647793] Re: tap-bsd.c has no test for Mac OS X
Date: Tue, 28 Sep 2010 21:21:57 -0000

I've verified that the code still compiles warning-free on v10.5 with
this patch applied.

Before:

$ qemu-system-sparc64 -M sun4u -m 2048 -net tap -net nic
warning: could not open /dev/tap: no virtual network emulation
qemu-system-sparc64: -net tap: Device 'tap' could not be initialized

After:

$ qemu-system-sparc64 -M sun4u -m 2048 -net tap -net nic
qemu-system-sparc64: -net tap: warning: could not open /dev/tap0 (No such file 
or directory): no virtual network emulation
qemu-system-sparc64: -net tap: Device 'tap' could not be initialized

Could you please resubmit it to qemu-devel using git-send-email and a full 
commit message with Signed-off-by?
If would also be helpful if you could supply instructions for me to properly 
setup and test this on Mac OS X. Thanks!

-- 
tap-bsd.c has no test for Mac OS X
https://bugs.launchpad.net/bugs/647793
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
The Mac OS X tun/tap driver is equivalent to the FreeBSD driver, but bsd-tap.c 
uses the NetBSD/OpenBSD driver, which works differently.   The fix is 
easy--just check for __APPLE__ in the same place where you check for FreeBSD in 
net/tap-bsd.c.

This problem exists in the current git tree, at least as of yesterday afternoon.





reply via email to

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