Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-24 Thread Gleb Natapov
On Thu, Mar 24, 2011 at 09:46:09AM -0700, Jordan Justen wrote: > 2011/3/24 Gleb Natapov : > > On Wed, Mar 23, 2011 at 03:32:41PM -0700, Jordan Justen wrote: > >> By the way, today OVMF attempts to store NV-Var data in a file on the > >> disk, but this cannot support variables at runtime.  (This is

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-24 Thread Jordan Justen
2011/3/24 Gleb Natapov : > On Wed, Mar 23, 2011 at 03:32:41PM -0700, Jordan Justen wrote: >> By the way, today OVMF attempts to store NV-Var data in a file on the >> disk, but this cannot support variables at runtime.  (This is why I >> sent in the patch for using -pflash on x86/x86-64.) >> > And t

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-24 Thread Gleb Natapov
On Thu, Mar 24, 2011 at 01:27:39PM +0100, Michal Suchanek wrote: > On 23 March 2011 23:32, Jordan Justen wrote: > > 2011/3/23 Gleb Natapov : > >> On Tue, Mar 22, 2011 at 02:53:16PM -0700, Jordan Justen wrote: > >>> To support a boot override for UEFI, this full path would be needed. > >>> For the

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-24 Thread Michal Suchanek
On 23 March 2011 23:32, Jordan Justen wrote: > 2011/3/23 Gleb Natapov : >> On Tue, Mar 22, 2011 at 02:53:16PM -0700, Jordan Justen wrote: >>> To support a boot override for UEFI, this full path would be needed. >>> For the purposes of a UEFI boot override, could the user could provide >>> the part

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-24 Thread Gleb Natapov
On Wed, Mar 23, 2011 at 03:32:41PM -0700, Jordan Justen wrote: > 2011/3/23 Gleb Natapov : > > On Tue, Mar 22, 2011 at 02:53:16PM -0700, Jordan Justen wrote: > >> To support a boot override for UEFI, this full path would be needed. > >> For the purposes of a UEFI boot override, could the user could

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-23 Thread Jordan Justen
2011/3/23 Gleb Natapov : > On Tue, Mar 22, 2011 at 02:53:16PM -0700, Jordan Justen wrote: >> To support a boot override for UEFI, this full path would be needed. >> For the purposes of a UEFI boot override, could the user could provide >> the partition & path info? >> > How the user knows what to p

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-23 Thread Gleb Natapov
On Tue, Mar 22, 2011 at 02:53:16PM -0700, Jordan Justen wrote: > 2011/3/22 Gleb Natapov : > > On Tue, Mar 22, 2011 at 12:28:51PM -0700, Jordan Justen wrote: > >> Can this cover a full path like this? > >> /pci@i0cf8/ide@1,1/drive@1/disk@0 => partition0 => /path/abc.efi > >> > > Open Firmware have s

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-22 Thread Jordan Justen
2011/3/22 Gleb Natapov : > On Tue, Mar 22, 2011 at 12:28:51PM -0700, Jordan Justen wrote: >> Can this cover a full path like this? >> /pci@i0cf8/ide@1,1/drive@1/disk@0 => partition0 => /path/abc.efi >> > Open Firmware have syntax for that. > /pci@i0cf8/ide@1,1/drive@1/disk@0:0,/path/abc.efi > But

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-22 Thread Gleb Natapov
On Tue, Mar 22, 2011 at 12:28:51PM -0700, Jordan Justen wrote: > 2011/3/22 Gleb Natapov : > > On Mon, Mar 21, 2011 at 02:23:31PM -0700, Jordan Justen wrote: > >> There is one big difference here between how VM's generally specify > >> the boot disk vs. a UEFI system.  In a UEFI system, normally the

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-22 Thread Jordan Justen
2011/3/22 Gleb Natapov : > On Mon, Mar 21, 2011 at 02:23:31PM -0700, Jordan Justen wrote: >> There is one big difference here between how VM's generally specify >> the boot disk vs. a UEFI system.  In a UEFI system, normally the boot >> path is not known during the first boot of the machine.  At so

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-22 Thread Gleb Natapov
On Mon, Mar 21, 2011 at 02:23:31PM -0700, Jordan Justen wrote: > On Mon, Mar 21, 2011 at 11:27, 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&

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-21 Thread Michael Brown
On Monday 21 Mar 2011 21:40:31 Stefan Hajnoczi wrote: > > 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,

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-21 Thread Stefan Hajnoczi
On Mon, Mar 21, 2011 at 9:17 PM, Michael Brown wrote: > 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

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-21 Thread Jordan Justen
On Mon, Mar 21, 2011 at 14:17, Michael Brown wrote: > On Monday 21 Mar 2011 21:06:24 Stefan Hajnoczi wrote: >> On Mon, Mar 21, 2011 at 6:27 PM, Anthony Liguori >> > Is there gPXE for UEFI yet? >> >> I have never tried it myself, but I think it should work.  CCed >> Michael Brown to check. > > Yes

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-21 Thread Jordan Justen
On Mon, Mar 21, 2011 at 11:27, 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,

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-21 Thread Michael Brown
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 Li

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-21 Thread Stefan Hajnoczi
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

Re: [Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-21 Thread Anthony Liguori
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

[Qemu-devel] OVMF, SeaBIOS & non-CSM based legacy boot

2011-03-21 Thread Jordan Justen
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 t