From owner-freebsd-virtualization@FreeBSD.ORG Wed Nov 27 04:56:19 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 74EFFAE6; Wed, 27 Nov 2013 04:56:19 +0000 (UTC) Received: from ims7bld2.solarus.net (smtp2.solarus.net [209.94.171.122]) by mx1.freebsd.org (Postfix) with ESMTP id 45D8826AA; Wed, 27 Nov 2013 04:56:18 +0000 (UTC) Received: from mail.solarus.net (mail.tznet.com [209.94.172.150]) by ims7bld2.solarus.net with ESMTP id rAR4uBLH063204; Tue, 26 Nov 2013 22:56:11 -0600 (CST) Date: Tue, 26 Nov 2013 22:56:11 -0600 (CST) From: Scott Pilz To: Peter Grehan Subject: Re: bhyve - non *bsd guests In-Reply-To: <529579CD.9010509@freebsd.org> Message-ID: References: <529579CD.9010509@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Solarus-VirusScanner: Clean X-Spam-Status: No Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Nov 2013 04:56:19 -0000 Thank you for your quick answer, and I'm not surprised by this. Makes perfect sense. I ran into the 1-CPU issue when I first started my testing. I'll ensure that the new IX blade system we're going with as supported processors. Keep up the great work. I'll be happy to do some extensive testing under various environments on this project if needed. Scott On Tue, 26 Nov 2013, Peter Grehan wrote: > Hi Scott, > >> The error I'm getting is: >> >> VM unrestricted guest capability required >> Error in initializing VM > > It's this one: > >> b) the CPU does not support what I'm trying to do > > Your 5570 CPU is a first-gen Nehalem. These models don't have > 'unrestricted-guest' VT-x support which is required to run code in 16/32-bit > mode with paging disabled. This feature arrived with Westmere and successors. > > grub-bhyve boots Linux and OpenBSD in 32-bit "flat" mode - protected mode > with paging disabled. This can only work if unrestricted-guest is supported > by the CPU. Other hypervisors work around this by using s/w instruction > emulation until paging is enabled. > > You'll find the same error if you start up a FreeBSD VM with > 1 vCPU since > the AP spinup code is started in 16-bit real mode. > > This doesn't show up with a single-vCPU FreeBSD guest since bhyveload sets > up a 64-bit execution environment for the kernel. > > later, > > Peter. > >