VirtualBox + VIMAGE

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Wed Jan 26 14:45:07 UTC 2011


On Wed, 26 Jan 2011, Brandon Gooch wrote:

> On Wed, Jan 26, 2011 at 8:25 AM, Mikolaj Golub <to.my.trociny at gmail.com> 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 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?

It would but still leave you with problems on earlier freebsd versions
or if you are building for another machine.

/bz

-- 
Bjoern A. Zeeb                                 You have to have visions!
         <ks> Going to jail sucks -- <bz> All my daemons like it!
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html


More information about the freebsd-emulation mailing list