From owner-svn-src-head@FreeBSD.ORG Wed Feb 5 04:50:05 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7BC349C5; Wed, 5 Feb 2014 04:50:05 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7D91C28; Wed, 5 Feb 2014 04:50:05 +0000 (UTC) Received: from pippin.baldwin.cx (pool-173-70-85-31.nwrknj.fios.verizon.net [173.70.85.31]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 2F719B926; Tue, 4 Feb 2014 23:50:03 -0500 (EST) From: John Baldwin To: src-committers@freebsd.org Subject: Re: svn commit: r261504 - in head: lib/libvmmapi sys/amd64/include sys/amd64/vmm sys/amd64/vmm/intel sys/boot/common sys/boot/userboot/userboot usr.sbin/bhyveload Date: Tue, 04 Feb 2014 23:48:11 -0500 Message-ID: <38657921.L00qfz5YiW@pippin.baldwin.cx> User-Agent: KMail/4.10.5 (FreeBSD/11.0-CURRENT; KDE/4.10.5; amd64; ; ) In-Reply-To: <201402050439.s154d4Uq036793@svn.freebsd.org> References: <201402050439.s154d4Uq036793@svn.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 04 Feb 2014 23:50:03 -0500 (EST) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 04:50:05 -0000 On Wednesday 05 February 2014 04:39:04 John Baldwin wrote: > Author: jhb > Date: Wed Feb 5 04:39:03 2014 > New Revision: 261504 > URL: http://svnweb.freebsd.org/changeset/base/261504 > > Log: > Add support for FreeBSD/i386 guests under bhyve. I have tested both PAE and non-PAE kernels from 10.0-RELEASE, and I believe Peter Grehan has booted a 9.2 i386 kernel. Note that no BIOS support is provided, so i386 kernels running under bhyve are running without any BIOS calls at all. This means that getting EFI working for i386 (as opposed to amd64) should not be as worrisome as some have feared as the i386 kernel does not, in fact, require a BIOS to boot and run, even using the existing entry point. Also, the stack used for the 64-bit exec in userboot has the same misfeature as the old 32-bit exec of pointing the initial stack pointer at the bottom of the stack (instead of just below the top). This works in practice as there isn't anything meaningful in the first page of data that the stack can grow down into. -- John Baldwin