From owner-freebsd-emulation@FreeBSD.ORG Wed Jan 26 14:31:44 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 6B264106566B; Wed, 26 Jan 2011 14:31:44 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id CD4F58FC12; Wed, 26 Jan 2011 14:31:43 +0000 (UTC) Received: by wyf19 with SMTP id 19so975661wyf.13 for ; Wed, 26 Jan 2011 06:31:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=I9GsuLScg2d25gl5bBq9ykfKYKtebZ2m6htucFmjCfA=; b=BecvcSCUR9l7IEmpdgJb8z6GcXTQ1+H1TV3RcI0C6bSPNgWLKBIydLEMQOGWEtm79X sCFJo+7T4t5FNq05xEI2dabgxYKbbyf82/kh9p51S3/++pIAKohHRKLUUtDgkVq2NFNa PNMIEnnkRXHWonq382j2ZWHa1EB21AvhcxhI8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=D667OfElYhZ6pcNOqxT4daq9xLN1/VfGcswRwq+Y+nCWt+H3MKp4ZKksnVWv7i4D6M 8cIrIwezz1/hhjRDt4BdmGalS5sKLqXDiV5qXXEM728ZfWv9ovhfyj5lz/p7tnTSrBW2 8T4OG/1lYCVy/5+ZXgYMOnekgkr5vZmul7kJ8= MIME-Version: 1.0 Received: by 10.216.73.203 with SMTP id v53mr526229wed.48.1296052302356; Wed, 26 Jan 2011 06:31:42 -0800 (PST) Received: by 10.216.36.71 with HTTP; Wed, 26 Jan 2011 06:31:42 -0800 (PST) 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> Date: Wed, 26 Jan 2011 08:31:42 -0600 Message-ID: From: Brandon Gooch To: Mikolaj Golub Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Julian Elischer , freebsd-emulation@freebsd.org, freebsd-virtualization@freebsd.org 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:31:44 -0000 On Wed, Jan 26, 2011 at 8:25 AM, Mikolaj Golub 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