From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 3 04:00:27 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3D27D9A for ; Fri, 3 Oct 2014 04:00:27 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 86123E00 for ; Fri, 3 Oct 2014 04:00:27 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id CCFC6123E5; Fri, 3 Oct 2014 14:00:19 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local (c-67-161-27-37.hsd1.ca.comcast.net [67.161.27.37]) by dommail.onthenet.com.au (MOS 4.4.4-GA) with ESMTP id BYS48359 (AUTH peterg@ptree32.com.au); Fri, 3 Oct 2014 14:00:18 +1000 Message-ID: <542E1F4F.4040102@freebsd.org> Date: Thu, 02 Oct 2014 21:00:15 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: =?UTF-8?B?0JXQstCz0LXQvdC40LkgSVJPTg==?= Subject: Re: VM unrestricted guest capability required References: <1412303890.698110582@f94.i.mail.ru> In-Reply-To: <1412303890.698110582@f94.i.mail.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Fri, 03 Oct 2014 04:00:27 -0000 Hi, > I'm trying to install Ubuntu Linux 14.10 as a guest in FreeBSD > 11-CURRENT r272460 host. When I try to run grub-bhyve (version 0.23) > I see in console message: VM unrestricted guest capability required > Error in initializing VM > > I've read a thread with the similar problem. As far as I understood, > this message happen when CPU doesn't have unrestricted guest > capability support (EPT). 'Unrestricted guest' is a different feature than EPT (Extended Page Tables). It allows the CPU to run in real mode and unpaged protected mode. This feature was introduced with the Westmere microarchitecture, and isn't available in your core i7 780 (aka Lynnfield, a Nehalem-based model) grub boots Linux in unpaged 32-bit "flat" protected mode so requires unrestricted guest support. Although bhyveload boots FreeBSD directly into 64-bit paged protected mode, secondary processors require 16-bit real mode to be spun up. This limits FreeBSD to a single CPU on any Nehalem-derived system. later, PEter.