From owner-freebsd-virtualization@freebsd.org Sun Feb 21 10:12:35 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 34E6B551FD9 for ; Sun, 21 Feb 2021 10:12:35 +0000 (UTC) (envelope-from SRS0=yHcC=HX=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from vito-vars.onthenet.com.au (vito-vars.OntheNet.com.au [203.13.68.24]) (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 4Dk1Mj6rnlz4VGS for ; Sun, 21 Feb 2021 10:12:33 +0000 (UTC) (envelope-from SRS0=yHcC=HX=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by vito-vars.onthenet.com.au (Postfix) with ESMTPS id 55E7A20B49EA for ; Sun, 21 Feb 2021 20:12:22 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 3F33920A53D4 for ; Sun, 21 Feb 2021 20:12:22 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 36711213C9B6 for ; Sun, 21 Feb 2021 20:12:22 +1000 (AEST) Received: from iredmail.onthenet.com.au ([127.0.0.1]) by iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PTPeOilr06eY for ; Sun, 21 Feb 2021 20:12:22 +1000 (AEST) Received: from MacBook-Air-4.local (CPE-120-29-50-1.dsl.OntheNet.net [120.29.50.1]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 8BDF4213C9AB; Sun, 21 Feb 2021 20:12:21 +1000 (AEST) Subject: Re: About nested virtualization for bhyve To: alphachi References: Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: <5db40d16-67c7-757c-8afb-b2a29c3be003@freebsd.org> Date: Sun, 21 Feb 2021 20:12:20 +1000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=BZdDLol2 c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=SNiks43MFstCdwpbf87ukQ==:17 a=IkcTkHD0fZMA:10 a=qa6Q16uM49sA:10 a=0ACL3MJKfvgCVehL_2YA:9 a=QEXdDO2ut3YA:10 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=B/4iLNlM c=1 sm=1 tr=0 a=mJOSnoNX3k71adV6TmU0eQ==:117 a=SNiks43MFstCdwpbf87ukQ==:17 a=IkcTkHD0fZMA:10 a=qa6Q16uM49sA:10 a=0ACL3MJKfvgCVehL_2YA:9 a=QEXdDO2ut3YA:10 X-Rspamd-Queue-Id: 4Dk1Mj6rnlz4VGS X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of SRS0=yHcC=HX=freebsd.org=grehan@iredmail.onthenet.com.au has no SPF policy when checking 203.13.68.24) smtp.mailfrom=SRS0=yHcC=HX=freebsd.org=grehan@iredmail.onthenet.com.au X-Spamd-Result: default: False [-0.89 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[203.13.68.24:from]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[freebsd.org]; SPAMHAUS_ZRD(0.00)[203.13.68.24:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.09)[-0.094]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[grehan@freebsd.org,SRS0=yHcC=HX=freebsd.org=grehan@iredmail.onthenet.com.au]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:9313, ipnet:203.13.68.0/23, country:AU]; FROM_NEQ_ENVFROM(0.00)[grehan@freebsd.org,SRS0=yHcC=HX=freebsd.org=grehan@iredmail.onthenet.com.au]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 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: Sun, 21 Feb 2021 10:12:35 -0000 Hi, > Does bhyve support the following schemes? > > Scheme A: > Layer 0 - bhyve on FreeBSD Host > Layer 1 - FreeBSD guest > Layer 2 - bhyve guest > > Scheme B: > Layer 0 - bhyve on FreeBSD Host > Layer 1 - Windows guest > Layer 2 - Hyper-V guest ... > What about on a bhyve host? For example, any configruation in > /boot/loader.conf or /etc/sysctl.conf to enable it? Those configurations aren't yet supported: bhyve will have to emulate VT-x/SVM functionality. later, Peter.