CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2025/08/08 07:40:12

Modified files:
        usr.sbin/vmd   : pci.h vmd.h x86_vm.c 

Log message:
Increase vmd(8) guest bios area to fit 4 MiB images.

We've been assuming images of at most 2 MiB, but the ekd2/OVMF UEFI
implementation builds 4 MiB images (at least by default). Set up
the upper and lower bios areas to fit.

In the lower area, take a cue from QEMU and copy the last 128 KiB
(or whatever is left of the image) to the lower area.

There should be no change required for existing SeaBIOS (vmm-bios)
users.

Tested by bluhm@, ok mlarkin@

Reply via email to