[Bug 264338] sysutils/edk2: vm_run error -1, errno 14

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 02 Jun 2022 22:19:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264338

--- Comment #12 from Dries Michiels <driesm@freebsd.org> ---
if use BHYVE_UEFI_CODE.fd vm start success => Indeed!

It seems that vm-bhyve script only uses this when setting loader="uefi-devel"
but than it also appends -devel to the firmware name so it wont work out of the
box. Right now I'm using "loader"="uefi-custom", and created a symlink in
vmdir/.config/ as such "BHYVE_UEFI.fd ->
/usr/local/share/edk2-bhyve/BHYVE_UEFI_CODE.fd".

This makes me wonder, maybe the edk2 port has caught up to the "devel version
intended in vm-bhyve script" back in the time, so now we should actually use
BHYVE_UEFI_CODE.fd.

https://github.com/churchers/vm-bhyve/blob/ec0e12e97465822d65ab32e791049d69791d49cb/lib/vm-run#L277

I have been thinking for a while to create a vm-bhyve-devel port, to actually
tracks commits of vm-bhyve upstream. Unfortunately the owner of the repo hasn't
been so good in creating releases.

-- 
You are receiving this mail because:
You are the assignee for the bug.