Re: VirtualBox + VIMAGE

2011-01-26 Thread Bernhard Froehlich
On Wed, 26 Jan 2011 16:25:28 +0200, Mikolaj Golub wrote: > On Wed, 26 Jan 2011 10:22:40 +0100 Bernhard Froehlich wrote: > > BF> Sounds like it's my turn now. Which FreeBSD version is required to be > BF> able to use it? > > As Bjoern noted it is for __FreeBSD_version >= 800500. > > BF> Is VIM

Re: VirtualBox + VIMAGE

2011-01-26 Thread Bjoern A. Zeeb
On Wed, 26 Jan 2011, Mikolaj Golub wrote: On Wed, 26 Jan 2011 14:18:03 + (UTC) Bjoern A. Zeeb wrote: BAZ> On Wed, 26 Jan 2011, Mikolaj Golub wrote: >> >> On Wed, 26 Jan 2011 09:15:46 + (UTC) Bjoern A. Zeeb wrote: >> >> BAZ> I think you should wrap the CURVNET changes in __FreeBSD_vers

Re: VirtualBox + VIMAGE

2011-01-26 Thread Mikolaj Golub
On Wed, 26 Jan 2011 14:18:03 + (UTC) Bjoern A. Zeeb wrote: BAZ> On Wed, 26 Jan 2011, Mikolaj Golub wrote: >> >> On Wed, 26 Jan 2011 09:15:46 + (UTC) Bjoern A. Zeeb wrote: >> >> BAZ> I think you should wrap the CURVNET changes in __FreeBSD_version >> BAZ> checks so that the port, sh

Re: VirtualBox + VIMAGE

2011-01-26 Thread Bjoern A. Zeeb
On Wed, 26 Jan 2011, Brandon Gooch wrote: On Wed, Jan 26, 2011 at 8:25 AM, Mikolaj Golub wrote: [SNIP] I suppose we should have an option in ports, something: .if ${OSVERSION} < 800500 OPTIONS+=        VIMAGE "Build for VIMAGE kernel" off .endif and if it is on set VIMAGE make environment

Re: VirtualBox + VIMAGE

2011-01-26 Thread Brandon Gooch
On Wed, Jan 26, 2011 at 8:25 AM, Mikolaj Golub wrote: [SNIP] > I suppose we should have an option in ports, something: > > .if ${OSVERSION} < 800500 > OPTIONS+=        VIMAGE "Build for VIMAGE kernel" off > .endif > > and if it is on set VIMAGE make environment variable. Or may be you have > a b

Re: VirtualBox + VIMAGE

2011-01-26 Thread Mikolaj Golub
On Wed, 26 Jan 2011 10:22:40 +0100 Bernhard Froehlich wrote: BF> Sounds like it's my turn now. Which FreeBSD version is required to be BF> able to use it? As Bjoern noted it is for __FreeBSD_version >= 800500. BF> Is VIMAGE enabled per default and what happens if VIMAGE is disabled - BF> do

Re: VirtualBox + VIMAGE

2011-01-26 Thread Bjoern A. Zeeb
On Wed, 26 Jan 2011, Mikolaj Golub wrote: On Wed, 26 Jan 2011 09:15:46 + (UTC) Bjoern A. Zeeb wrote: BAZ> I think you should wrap the CURVNET changes in __FreeBSD_version BAZ> checks so that the port, should it run elsewhere or on older FreeBSDs BAZ> (if it runs there) not trouble people h

Re: VirtualBox + VIMAGE

2011-01-26 Thread Mikolaj Golub
On Wed, 26 Jan 2011 09:15:46 + (UTC) Bjoern A. Zeeb wrote: BAZ> I think you should wrap the CURVNET changes in __FreeBSD_version BAZ> checks so that the port, should it run elsewhere or on older FreeBSDs BAZ> (if it runs there) not trouble people having to patch it away. BAZ> #if defined

Re: VirtualBox + VIMAGE

2011-01-26 Thread Bernhard Froehlich
On Tue, 25 Jan 2011 18:13:43 -0800, Julian Elischer wrote: > On 1/25/11 1:06 PM, Mikolaj Golub wrote: >> On Sun, 23 Jan 2011 23:44:41 -0800 Julian Elischer wrote: >> >> JE> On 1/23/11 6:33 AM, Mikolaj Golub wrote: >> >> >> As a quick fix I added in VBoxNetFlt-freebsd.c in all "problem" >> fu

Re: VirtualBox + VIMAGE

2011-01-26 Thread Bjoern A. Zeeb
On Tue, 25 Jan 2011, Mikolaj Golub wrote: On Sun, 23 Jan 2011 23:44:41 -0800 Julian Elischer wrote: JE> On 1/23/11 6:33 AM, Mikolaj Golub wrote: >> As a quick fix I added in VBoxNetFlt-freebsd.c in all "problem" functions >> CURVNET_SET_QUIET(vnet0) macro, which sets td->td_vnet to default vn

Re: VirtualBox + VIMAGE

2011-01-26 Thread Fredrik Lindberg
On 01/26/2011 03:13 AM, Julian Elischer wrote: On 1/25/11 1:06 PM, Mikolaj Golub wrote: On Sun, 23 Jan 2011 23:44:41 -0800 Julian Elischer wrote: JE> On 1/23/11 6:33 AM, Mikolaj Golub wrote: >> As a quick fix I added in VBoxNetFlt-freebsd.c in all "problem" functions >> CURVNET_SET_QUIET(vnet0