Re: bhyve an missing packages?
- In reply to: Steve Kargl : "Re: bhyve an missing packages?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Feb 2025 01:17:04 UTC
On Sun, Feb 02, 2025 at 05:04:23PM -0800, Steve Kargl wrote: > On Mon, Feb 03, 2025 at 12:52:06AM +0100, Miroslav Lachman wrote: > > On 03/02/2025 00:25, Steve Kargl wrote: > > > On Sun, Feb 02, 2025 at 10:11:33PM +0100, Miroslav Lachman wrote: > > > > [..] > > > > > > "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." > > > > > > https://docs.freebsd.org/en/books/handbook/virtualization/ > > > 24.7. FreeBSD as a Host with bhyve > > > > > > does not mention anything about packages. > > > > You should scroll down to > > 24.7.4. Booting bhyve Virtual Machines with UEFI Firmware > > > > Still does not fix the wrong info from the error message. > > % 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 The handbook is not explicit about this, but it looks like you're trying to boot an arm64 image on amd64, which definitely won't work anyway. bhyve requires hardware virtualization support. You'd need to use QEMU or another emulator. To that end there's a wiki page with some recipes for various platforms at https://wiki.freebsd.org/QemuRecipes in addition to some info in the handbook. > > There is no edk2-bhyve. > > Thanks for the help. I decided that implementing binary128 > libm functions is not worth the hassle.