Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2011 08:31:42 -0600
From:      Brandon Gooch <jamesbrandongooch@gmail.com>
To:        Mikolaj Golub <to.my.trociny@gmail.com>
Cc:        Julian Elischer <julian@freebsd.org>, freebsd-emulation@freebsd.org, freebsd-virtualization@freebsd.org
Subject:   Re: VirtualBox + VIMAGE
Message-ID:  <AANLkTi==wf1L2NzO4H8f2PqH9Ma_xwd%2B4MeqOfHYdcWb@mail.gmail.com>
In-Reply-To: <8662tbkahz.fsf@zhuzha.ua1>
References:  <86oc77heqk.fsf@kopusha.home.net> <4D3D2DE9.2060004@freebsd.org> <86tygwy9p0.fsf@kopusha.home.net> <4D3F8357.2070005@freebsd.org> <62fcd16074e526547c3417a8f259174e@bluelife.at> <8662tbkahz.fsf@zhuzha.ua1>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 26, 2011 at 8:25 AM, Mikolaj Golub <to.my.trociny@gmail.com> wr=
ote:

[SNIP]

> I suppose we should have an option in ports, something:
>
> .if ${OSVERSION} < 800500
> OPTIONS+=3D =A0 =A0 =A0 =A0VIMAGE "Build for VIMAGE kernel" off
> .endif
>
> and if it is on set VIMAGE make environment variable. Or may be you have
> a better solution.

As of r217203 on 9-CURRENT and r217403 on 8-STABLE, VIMAGE is
announced as a feature via sysctl(8). Would it be possible to query
this value to decide how to build the module?

[SNIP]

-Brandon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi==wf1L2NzO4H8f2PqH9Ma_xwd%2B4MeqOfHYdcWb>