From owner-freebsd-virtualization@freebsd.org Mon Apr 8 07:39:04 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 A75EE15778B1 for ; Mon, 8 Apr 2019 07:39:04 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 113F08C32F for ; Mon, 8 Apr 2019 07:39:03 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x387d14L054125; Mon, 8 Apr 2019 00:39:01 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id x387d1T9054124; Mon, 8 Apr 2019 00:39:01 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201904080739.x387d1T9054124@gndrsh.dnsmgr.net> Subject: Re: running FreePBX SNG7 Official Distro In-Reply-To: <20190408050144.GA56879@admin.sibptus.ru> To: Victor Sudakov Date: Mon, 8 Apr 2019 00:39:01 -0700 (PDT) CC: freebsd-virtualization@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 113F08C32F X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.984,0] 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, 08 Apr 2019 07:39:04 -0000 > Victor Sudakov wrote: > > > > > > As I stated earlier bhyve is missing percistant efi variables, > > > and that is most likely the reason that VirtualBox just works > > > and bhyve does not. > > > > > > Probably you well find in your VirtualBox directory a > > > file that is used to store efivars, that is where the > > > > I'll look into the VirtualBox directory tomorrow and report here. > > I searched through my disk and was unable to find a persistant efivars > storage in my VirtualBox 6.0 installation. > > A Google search reveals some articles (rather dated I must admit) > stating that VirtualBox does not support NVRAM emulation for storing efi > variables: > > https://www.virtualbox.org/ticket/14279 > https://forums.virtualbox.org/viewtopic.php?t=61970 My quick search turns up: https://www.virtualbox.org/svn/vbox/trunk/src/VBox/Devices/EFI/DevEFI.cpp aka source code thet implements efivars stored in nvram. > they recommend using startup.nsh instead. I wonder if bhyve's efi > implementation supports startup.nsh. I believe that is how the alternate boot selector someone pointed at gets hooked in. > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > 2:5005/49@fidonet http://vas.tomsk.ru/ -- Rod Grimes rgrimes@freebsd.org