Support booting from compressed kernel images.
authordv <dv@openbsd.org>
Mon, 5 Apr 2021 18:09:48 +0000 (18:09 +0000)
committerdv <dv@openbsd.org>
Mon, 5 Apr 2021 18:09:48 +0000 (18:09 +0000)
commit45bdc46fd437f16fb19609ef021fcf490eb43214
tree382aa9689bf29f2b5024b43595102fc817d80708
parent6f88e1f438f211027a0ca77cbcea28f93fc65056
Support booting from compressed kernel images.

The bsd.rd ramdisk now ships gzip'd on amd64. Use libz in base to
transparently handle decompression of any compressed kernel images.

Patch from Josh Rickmar.

ok kn@
usr.sbin/vmd/Makefile
usr.sbin/vmd/loadfile.h
usr.sbin/vmd/loadfile_elf.c
usr.sbin/vmd/vm.c
usr.sbin/vmd/vmd.h