Re: [Qemu-devel] i386: don't require elf64 for multiboot kernel

2018-12-05 Thread Gonzo FWS
[Qemu-devel] i386: don't require elf64 for multiboot kernel On 05/12/18 06:35, Thomas Huth wrote: > On 2018-12-04 17:55, Gonzo FWS wrote: >> Right now IncludeOS on x86_64 must use a chainloader for multiboot >> support. The chainloader is an ELF32 kernel that loads the real >

Re: [Qemu-devel] i386: don't require elf64 for multiboot kernel

2018-12-05 Thread Paolo Bonzini
On 05/12/18 06:35, Thomas Huth wrote: > On 2018-12-04 17:55, Gonzo FWS wrote: >> Right now IncludeOS on x86_64 must use a chainloader for multiboot >> support. The chainloader is an ELF32 kernel that loads the real >> ELF64 kernel and jumps to it. As long as the ELF has the .multiboot >> section an

Re: [Qemu-devel] i386: don't require elf64 for multiboot kernel

2018-12-04 Thread Thomas Huth
On 2018-12-04 17:55, Gonzo FWS wrote: > Right now IncludeOS on x86_64 must use a chainloader for multiboot support. > The chainloader is an ELF32 kernel that loads the real ELF64 kernel and jumps > to it. As long as the ELF has the .multiboot section and conforms to the > spec, meaning _start is

[Qemu-devel] i386: don't require elf64 for multiboot kernel

2018-12-04 Thread Gonzo FWS
Right now IncludeOS on x86_64 must use a chainloader for multiboot support. The chainloader is an ELF32 kernel that loads the real ELF64 kernel and jumps to it. As long as the ELF has the .multiboot section and conforms to the spec, meaning _start is be a 32-bit entry, it should be fine. By rem