Re: bhyve an missing packages?

From: Miroslav Lachman <000.fbsd_at_quip.cz>
Date: Sun, 02 Feb 2025 21:11:33 UTC
On 02/02/2025 21:20, Steve Kargl wrote:
> Following the Handbook to set up a BHyve instance
> of freebsd-arm64, I have into
> 
> % sh /usr/share/examples/bhyve/vmrun.sh -c 2 -m 4G -t tap0 -d aarch64.img \
>    -i -I fbsd14-aarch64.img aarch64
> Error: Firmware file /usr/local/share/uefi-firmware/BHYVE_UEFI.fd doesn't exist.
>         Try: pkg install edk2-bhyve
> 
> 1. The Handbook guidelines have no mention of needing a package.
> 2. Th edk2-bhyve package does not exist.

There is a paragraph about required package bhyve-firmware [1]

"To make use of the UEFI support in bhyve, first obtain the UEFI 
firmware images. This can be done by installing sysutils/bhyve-firmware 
port or package."

And as it can be seen in the Makefile [2], it will install 
sysutils/edk2@bhyve as a dependency

[1] 
https://docs.freebsd.org/en/books/handbook/virtualization/#virtualization-bhyve-uefi
[2] 
https://github.com/freebsd/freebsd-ports/blob/main/sysutils/bhyve-firmware/Makefile

Kind regards
Miroslav Lachman