tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: x86 bootstrap features



On Tue, Sep 24, 2019 at 05:43:52PM +0200, Kamil Rytarowski wrote:
> qemu-system-i386 works, but -x86_64 not.
> 
> Are there plans to add it to the amd64 kernel?

After considering the thing carefuly, I come to the conclusion that 
it will not work until multiboot 2 support is added to Qemu: 
multiboot 1 only specifies how to boot a 32 bit system.

An alternative path would be to introduce in our amd64 kernel
the same hack that exists in Xen: it is an amd64 binary that
masquerades as a 32 bit ELF executable so that it can boot
from multiboot 1. That does not look like a desirable way,
though.


-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index