From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 9 13:11:07 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D898106566C for ; Wed, 9 Sep 2009 13:11:07 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 24A818FC1D for ; Wed, 9 Sep 2009 13:11:06 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1MlMwy-000Obp-L5; Wed, 09 Sep 2009 16:11:04 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Fredrik Lindberg In-reply-to: <4AA784D9.80405@shapeshifter.se> References: <4AA784D9.80405@shapeshifter.se> Comments: In-reply-to Fredrik Lindberg message dated "Wed, 09 Sep 2009 12:35:05 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 09 Sep 2009 16:11:04 +0300 From: Danny Braniss Message-ID: Cc: freebsd-emulation@freebsd.org, vbox-dev@virtualbox.org Subject: Re: VirtualBox network patches for FreeBSD (vboxnetflt + vboxnetadp) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 13:11:07 -0000 > Hi > > These patches implement bridge and host only networking on FreeBSD, they > have been tested on FreeBSD 7 and 8 by a few different people. The only > known issue is that they might not work with wireless cards. At least > it didn't work on my iwi-backed wlan0 interface on FreeBSD 8. > > The patches are split into different files for easier overview > > http://www.shapeshifter.se/pub/patches/virtualbox/vbox-freebsd-netif-20090908.patch > http://www.shapeshifter.se/pub/patches/virtualbox/vbox-freebsd-vboxnetadp-20090908.patch > http://www.shapeshifter.se/pub/patches/virtualbox/vbox-freebsd-vboxnetflt-20090908.patch > http://www.shapeshifter.se/pub/patches/virtualbox/Config.kmk-20090908.patch > http://www.shapeshifter.se/pub/patches/virtualbox/src-VBox-HostDrivers-Makefile.kmk-20090908.patch > > Original code is under the MIT license, patches to Makefiles, etc are > under whatever license you want (I don't claim any copyright over > these). > > > People running FreeBSD and want to test this with the vbox version > 3.0.51.r22226 that currently is in the ports tree needs the following > additional patches. > > http://www.shapeshifter.se/pub/patches/virtualbox/Config.kmk-r22226-20090908.patch > http://www.shapeshifter.se/pub/patches/virtualbox/virtualbox-port-20090907.patch > http://www.shapeshifter.se/pub/patches/virtualbox/ConsoleImpl2.cpp.patch > > Apply/compile with > cd /usr/ports/emulators/virtualbox > make clean patch > mkdir work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd > mkdir work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetAdp/freebsd > patch < virtualbox-port-20090907.patch > patch -d work/virtualbox-3.0.51r22226/Config.kmk-r22226-20090908.patch > patch -d work/virtualbox-3.0.51r22226/ConsoleImpl2.cpp.patch > patch -d > work/virtualbox-3.0.51r22226/src-VBox-HostDrivers-Makefile.kmk-20090908.patch > patch -d work/virtualbox-3.0.51r22226/vbox-freebsd-netif-20090908.patch > patch -d work/virtualbox-3.0.51r22226/vbox-freebsd-vboxnetadp-20090908.patch > patch -d work/virtualbox-3.0.51r22226/vbox-freebsd-vboxnetflt-20090908.patch > make install > great work! any chance it will support PXE? what about throughput, at the moment iperf timet it at 120Mbits/sec but the host is connected at 1G. danny