Re: [RFC PATCH] x86/boot: make ELF kernel multiboot-able

2017-02-16 Thread H. Peter Anvin
On 02/16/17 15:27, Daniel Kiper wrote: > > That is obvious. Do you think that Multiboot/Multiboot2 protocols are > substantially suboptimal? > Yes. They push a lot of things into the bootloader for no good reason, thus tying the kernel's hands and making the whole boot process more fragile.

Re: [RFC PATCH] x86/boot: make ELF kernel multiboot-able

2017-02-16 Thread Daniel Kiper
On Wed, Feb 15, 2017 at 12:58:37PM -0800, h...@zytor.com wrote: [...] > Multiboot has a fundamentally broken assumption, which is to do certain work Just to be precise. We are talking about Multiboot2 here. > for the kernel in the bootloader. This is fundamentally a bad idea, because Why it

Re: [RFC PATCH] x86/boot: make ELF kernel multiboot-able

2017-02-15 Thread Chao Peng
On Wed, 2017-02-15 at 17:42 +0100, Paolo Bonzini wrote: > > On 15/02/2017 15:41, Chao Peng wrote: > > > > Multiboot specification > > (http://git.savannah.gnu.org/cgit/grub.git/tree/doc/multiboot.texi?h=mul > > tiboot2) > > is an open standard that provides kernels with a uniform way to be

Re: [RFC PATCH] x86/boot: make ELF kernel multiboot-able

2017-02-15 Thread Chao Peng
> > Just something to consider, provided the issues with multiboot get > > resolved: > > > > If you want to boot Xen you actually use the multiboot protocol, the > > last PVH > > boot patches had borrowed ideas from Multiboot to add an entry to > > Linux, only > > it was Xen'ified. What would be

Re: [RFC PATCH] x86/boot: make ELF kernel multiboot-able

2017-02-15 Thread hpa
On February 15, 2017 12:13:36 PM PST, "Luis R. Rodriguez" wrote: >On Wed, Feb 15, 2017 at 10:12:07AM -0800, h...@zytor.com wrote: >> On February 15, 2017 6:41:56 AM PST, Chao Peng > wrote: >> >Multiboot specification >>

Re: [RFC PATCH] x86/boot: make ELF kernel multiboot-able

2017-02-15 Thread Luis R. Rodriguez
On Wed, Feb 15, 2017 at 10:12:07AM -0800, h...@zytor.com wrote: > On February 15, 2017 6:41:56 AM PST, Chao Peng > wrote: > >Multiboot specification > >(http://git.savannah.gnu.org/cgit/grub.git/tree/doc/multiboot.texi?h=multiboot2) > >is an open standard that

Re: [RFC PATCH] x86/boot: make ELF kernel multiboot-able

2017-02-15 Thread Paolo Bonzini
On 15/02/2017 15:41, Chao Peng wrote: > Multiboot specification > (http://git.savannah.gnu.org/cgit/grub.git/tree/doc/multiboot.texi?h=multiboot2) > is an open standard that provides kernels with a uniform way to be booted > by multiboot-compliant bootloaders (like grub). > > This patch is

Re: [RFC PATCH] x86/boot: make ELF kernel multiboot-able

2017-02-15 Thread hpa
On February 15, 2017 6:41:56 AM PST, Chao Peng wrote: >Multiboot specification >(http://git.savannah.gnu.org/cgit/grub.git/tree/doc/multiboot.texi?h=multiboot2) >is an open standard that provides kernels with a uniform way to be >booted >by multiboot-compliant