Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen

2013-10-24 Thread Jan Beulich
Vladimir 'φ-coder/phcoder' Serbinenkophco...@gmail.com 10/23/13 7:02 PM GrUB - which iiuc stays in memory after transferring control - could export its file system support to its descendants). Xen shouldn't need to load any file after multiboot2 entry point. The needed files would already

Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen

2013-10-23 Thread Ian Campbell
On Tue, 2013-10-22 at 12:26 -0400, Konrad Rzeszutek Wilk wrote: It can (at least in Linux). There are two entry points in the Linux kernel and - one when it is launched from 'linuxefi' (See efi_stub_entry in arch/x86/boot/compressed/head_64.S), the other when it is launched from an EFI shell

Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen

2013-10-23 Thread Konrad Rzeszutek Wilk
On Wed, Oct 23, 2013 at 09:32:30AM +0100, Ian Campbell wrote: On Tue, 2013-10-22 at 12:26 -0400, Konrad Rzeszutek Wilk wrote: It can (at least in Linux). There are two entry points in the Linux kernel and - one when it is launched from 'linuxefi' (See efi_stub_entry in

Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen

2013-10-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 23.10.2013 15:13, Konrad Rzeszutek Wilk wrote: - not make an ExitBootServices call - which it does right now in the Solaris GRUB2 case and in the Fedora GRUB2 case. What about having a special tag in multiboot2 file header RKEBSIHE: request to keep EFI boot services and then bootloader

Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen

2013-10-23 Thread Jan Beulich
Ian Campbell ian.campb...@citrix.com 10/23/13 10:32 AM The second (standard PE/COFF entry point) can be launched using the UEFI chainloader call. AIUI this should work with xen.efi today. There are some limitations however, firstly there is no way to pass additional blobs and so the launched

Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen

2013-10-23 Thread Jan Beulich
Konrad Rzeszutek Wilk konrad.w...@oracle.com 10/23/13 3:15 PM On Wed, Oct 23, 2013 at 09:32:30AM +0100, Ian Campbell wrote: Am I correct that xen.efi today can be loaded from grub today using the chainload command? Whereupon it will parse the xen.cfg and load the dom0 kernel and load things

Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen

2013-10-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
GrUB - which iiuc stays in memory after transferring control - could export its file system support to its descendants). Xen shouldn't need to load any file after multiboot2 entry point. The needed files would already be in memory with pointers to them passed. If you insist on being able to

Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen

2013-10-22 Thread Ian Campbell
On Tue, 2013-10-22 at 15:24 +0100, Ian Campbell wrote: On Tue, 2013-10-22 at 10:09 -0400, Konrad Rzeszutek Wilk wrote: So it can be booted the same way as xen.efi. But my understanding is that folks prefer a bootloader instead of loading the bzImage in an NVRAM of a platform with pre-set

Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen

2013-10-22 Thread Konrad Rzeszutek Wilk
On Tue, Oct 22, 2013 at 04:22:38PM +0100, Ian Campbell wrote: On Tue, 2013-10-22 at 15:24 +0100, Ian Campbell wrote: On Tue, 2013-10-22 at 10:09 -0400, Konrad Rzeszutek Wilk wrote: So it can be booted the same way as xen.efi. But my understanding is that folks prefer a bootloader