[Top][All Lists]
[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.
- [Qemu-devel] [PATCH v2 00/19] Monitor: split HMP and QMP dispatch tables, Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 01/19] Monitor: Introduce search_dispatch_table(), Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 02/19] QMP: handle_qmp_command(): Move 'cmd' sanity check, Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 03/19] QMP: Don't use do_info(), Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 04/19] Monitor: Drop QMP bits from do_info(), Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 05/19] Monitor: Drop is_async_return(), Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 06/19] Monitor: Convert do_info() back to HMP, Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 07/19] Monitor: Introduce the qmp-commands.hx file, Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 09/19] QMP: Introduce command dispatch table, Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 08/19] QMP: Introduce qmp_find_cmd(), Luiz Capitulino, 2010/09/30
- [Qemu-devel] [PATCH 10/19] QMP: Introduce query commands dispatch table, Luiz Capitulino, 2010/09/30