From owner-freebsd-emulation@FreeBSD.ORG Wed Jan 26 14:45:07 2011 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 BD6081065675; Wed, 26 Jan 2011 14:45:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id 70DB58FC19; Wed, 26 Jan 2011 14:45:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 71D3741C730; Wed, 26 Jan 2011 15:45:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id KR3cmD5L2fNl; Wed, 26 Jan 2011 15:45:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 9118841C705; Wed, 26 Jan 2011 15:45:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id C8047444936; Wed, 26 Jan 2011 14:40:18 +0000 (UTC) Date: Wed, 26 Jan 2011 14:40:18 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Brandon Gooch In-Reply-To: Message-ID: <20110126143845.K3489@maildrop.int.zabbadoz.net> 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> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1417997109-1296052818=:3489" Cc: freebsd-emulation@freebsd.org, FreeBSD virtualization mailing list Subject: Re: VirtualBox + VIMAGE 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, 26 Jan 2011 14:45:07 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1417997109-1296052818=:3489 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE 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+=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? It would but still leave you with problems on earlier freebsd versions or if you are building for another machine. /bz --=20 Bjoern A. Zeeb You have to have visions! Going to jail sucks -- All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html --0-1417997109-1296052818=:3489--