From owner-freebsd-virtualization@freebsd.org Mon Oct 22 17:14:11 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 CD69B1039F54 for ; Mon, 22 Oct 2018 17:14:11 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.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 4C40D8610E for ; Mon, 22 Oct 2018 17:14:11 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w9MHE8kk011517; Mon, 22 Oct 2018 10:14:08 -0700 (PDT) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w9MHE83d011516; Mon, 22 Oct 2018 10:14:08 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201810221714.w9MHE83d011516@pdx.rh.CN85.dnsmgr.net> Subject: Re: bhyve uefi="csm" In-Reply-To: <20181021162742.GA10064@admin.sibptus.ru> To: Victor Sudakov Date: Mon, 22 Oct 2018 10:14:08 -0700 (PDT) CC: Jason Barbier , 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-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, 22 Oct 2018 17:14:12 -0000 > Rodney W. Grimes wrote: > > > Can you tell us a bit about your set up, like are you using helper scripts like libvirt? > > > To answer the question you asked when I run a vm with the CSM firmware it works for me. > > > > You should always be able to boot a vm that uses > > and boots with the non CSM uefi firmware with the > > CSM version of the firmware, failures may start > > to show up if your booting something that is > > either purely legacy, or efi aware but falls > > back to csm because it didnt like something. > > If my goal were to boot FreeDOS in bhyve, would that be ever possible? Today no, due to the fact we do not have a ATA/legacy emulation, but rather only ahci disk emultaion, though I would be wrong on that point if FreeDOS has an ahci disk driver. This goal is on my "want" list for bhyve to be able to do. THere is a GSOC ata driver emulation that works some, but I do not think it can accomplish this task at this time. I do not know if the CSM code is up to this task either, but it should be. > > The older ED2K uefi that we are using and > > some of the hatchetry that was used to craft > > its CSM are in a poor state and could use > > some love. > -- Rod Grimes rgrimes@freebsd.org