CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2022/06/26 00:49:09

Modified files:
        usr.sbin/vmd   : vm.c 
        sys/arch/amd64/include: vmmvar.h 

Log message:
vmd: create a copy of bios at 4g boundary

Newer Linux kernels call into the bios to perform a reboot and our
version of SeaBIOS assumes there's a "copy" of the bios ending at
4g. When SeaBIOS reads from this area, since vmd doesn't perform
mmio yet, guests terminate with an unhandled fault.

Carve out some space ending at 4g and copy the bios there. Technically
we could load garbage there, but give SeaBIOS what it wants for
now.

ok mlarkin@

Reply via email to