CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2022/12/09 09:44:19

Modified files:
        usr.sbin/vmd   : Tag: OPENBSD_7_2 loadfile_elf.c 

Log message:
vmd(8): zero consdev in bootargs to fix booting ramdisks

Mischa Peters reported that booting a bsd.rd from 7.2 or newer
stopped working with vmd(8) in 7.2.

Direct booting kernels requires vmd to build boot args in guest
memory. Recently, the bios_consdev_t struct changed in amd64
machdep.c, adding additional struct members. vmd wasn't zeroing out
the struct, causing the booted kernel to read garbage.

from dv@; ok claudio, mlarkin

this is errata/7.2/010_vmd.patch.sig

Reply via email to