From owner-freebsd-virtualization@freebsd.org Fri May 4 13:41:34 2018 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 5C746FAE0F3 for ; Fri, 4 May 2018 13:41:34 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id C13857D5AD for ; Fri, 4 May 2018 13:41:33 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 2844020B4B92 for ; Fri, 4 May 2018 23:41:31 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 2219F280A08 for ; Fri, 4 May 2018 23:41:31 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id bH6uc1OQxeGD for ; Fri, 4 May 2018 23:41:31 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (unknown [209.116.154.70]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id CA82A2808C8; Fri, 4 May 2018 23:41:28 +1000 (AEST) Subject: Re: Centos7 uefi boot problem with bhyve after update To: Mike Gerdts , Michael Reifenberger Cc: freebsd-virtualization@freebsd.org References: <20180502095855.Horde.pnF1J3CvBGrJMXFBiwHibZM@app.eeeit.de> <20180504122635.Horde.BLpo7EULCvCbMZLSMErcHAh@app.eeeit.de> From: Peter Grehan Message-ID: <96b7bc92-a766-b9b7-ba65-2c24e3b99177@freebsd.org> Date: Fri, 4 May 2018 06:41:26 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.7.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=dNCIZtRb c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=E9DvB7ingYQrXO/l+olwjw==:17 a=IkcTkHD0fZMA:10 a=VUJBJC2UJ8kA:10 a=ozrUWBMuL8AZBB2YRXkA:9 a=QEXdDO2ut3YA:10 wl=host:3 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.25 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, 04 May 2018 13:41:34 -0000 Hi Mike, > the fault here could be that of bootrom not reading the files it should That is exactly the issue. The current UEFI code does not save non-volatile variables to persistent storage. Guest o/s's are increasingly writing their efi loaders to non-standard locations and using nv vars to direct UEFI to boot from these locations. I'm (very slowly) merging a fix from Leon for this in both UEFI and bhyve which directs nv var writes to a file on the host, providing a persistent store. later, Peter.