From owner-freebsd-virtualization@freebsd.org Mon Apr 1 22:15:48 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0871F1570690 for ; Mon, 1 Apr 2019 22:15:48 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mx1.shrew.net (mx1.shrew.net [38.97.5.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 940898C25C for ; Mon, 1 Apr 2019 22:15:46 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mail.shrew.net (mail.shrew.prv [10.24.10.20]) by mx1.shrew.net (8.15.2/8.15.2) with ESMTP id x31MFiJZ018630 for ; Mon, 1 Apr 2019 17:15:45 -0500 (CDT) (envelope-from mgrooms@shrew.net) Received: from [10.16.32.30] (unknown [172.126.77.65]) by mail.shrew.net (Postfix) with ESMTPSA id BDE9B195681 for ; Mon, 1 Apr 2019 17:15:39 -0500 (CDT) Subject: Re: VMs without unrestricted mode support To: freebsd-virtualization@freebsd.org References: From: Matthew Grooms Message-ID: Date: Mon, 1 Apr 2019 17:15:37 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.shrew.net [10.24.10.10]); Mon, 01 Apr 2019 17:15:45 -0500 (CDT) X-Rspamd-Queue-Id: 940898C25C X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of mgrooms@shrew.net designates 38.97.5.131 as permitted sender) smtp.mailfrom=mgrooms@shrew.net X-Spamd-Result: default: False [-4.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: mx1.shrew.net]; NEURAL_HAM_SHORT(-0.89)[-0.893,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:174, ipnet:38.0.0.0/8, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DMARC_NA(0.00)[shrew.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[131.5.97.38.list.dnswl.org : 127.0.10.0]; IP_SCORE(-0.89)[ip: (-9.53), ipnet: 38.0.0.0/8(2.88), asn: 174(2.26), country: US(-0.06)] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 01 Apr 2019 22:15:48 -0000 On 4/1/2019 4:34 PM, James Crist wrote: > Hello, I originally asked this on the FreeNAS forums and was directed here. I'm not sure if this is a FreeNAS issue, a bhyve issue, or a me doing something wrong issue. > > My processor (W3550) supports virtualization but does not have unrestricted guest capability. According to the documentation (https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html) it sounds like I should still be able to run VMs as long as they only have one vCPU but I still get the error. According to this post (https://redmine.ixsystems.com/issues/31338) it sounds like this is only true for FreeBSD VMs but the source provided doesn't talk about number of cores. > > Can someone confirm under what conditions a VM can be run without unrestricted guest? I can't remember exact, but I believe unrestricted guest is also required for UEFI/CSM ( BIOS ) support. If that's true, you may still be able to use bhyveload or grub2-bhyve to boot single vCPU VMs, but not UEFI. Hopefully someone with more knowledge will chime in to correct me if I'm misleading you. -Matthew