From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=56240 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1mUE-00029C-HV for qemu-devel@nongnu.org; Mon, 21 Mar 2011 17:18:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1mUD-0004nd-4H for qemu-devel@nongnu.org; Mon, 21 Mar 2011 17:18:02 -0400 Received: from duck.fensystems.co.uk ([212.13.204.60]:43673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1mUC-0004nJ-Vv for qemu-devel@nongnu.org; Mon, 21 Mar 2011 17:18:01 -0400 From: Michael Brown Subject: Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot Date: Mon, 21 Mar 2011 21:17:55 +0000 References: <4D87989D.70005@codemonkey.ws> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201103212117.55762.mbrown@fensystems.co.uk> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Jordan Justen , qemu-devel On Monday 21 Mar 2011 21:06:24 Stefan Hajnoczi wrote: > On Mon, Mar 21, 2011 at 6:27 PM, Anthony Liguori wrote: > > On 03/21/2011 01:14 PM, Jordan Justen wrote: > >> This weekend I spent some time working on loading SeaBIOS from OVMF to > >> start a legacy boot. I was able to get x86& x86-64 Linux to legacy > >> boot using this method. > >> > >> Unfortunately, (I think) it is not nearly as nice a having a true CSM. > >> Basically, you have to decide at some point in the OVMF boot that you > >> want to legacy boot, and once you start SeaBIOS running, OVMF/UEFI > > > > Interesting. How much time does OVMF add to the total boot time when > > taking this approach? > > > >> will never be in the picture again (until system reset). > >> > >> Contrast this to using a CSM where you can: > >> * Load a legacy option ROM (vbios, or disk rom), > >> and use it during a UEFI boot > > > > Is there gPXE for UEFI yet? > > I have never tried it myself, but I think it should work. CCed > Michael Brown to check. Yes, iPXE for UEFI exists and works. Last tested by me about a week ago, on various IBM UEFI systems. Compared to a "legacy" BIOS network boot, you can't do anything very interesting with UEFI. Features such as iSCSI, FCoE, AoE, HTTP all work with a "legacy" BIOS but not with UEFI. A "legacy" BIOS network boot allows you to boot an operating system; a UEFI network boot only allows you to boot an EFI executable (which could be a second-stage OS loader). UEFI as a platform has a long way to go before it matches the network boot functionality available through iPXE in a "legacy" BIOS. Michael