Re: wifibox/passthrough broken after May 2025 - needs UPDATING entry

From: Marcin Cieslak <saper_at_saper.info>
Date: Wed, 20 Aug 2025 16:18:43 UTC
On Tue, 19 Aug 2025, Marcin Cieslak wrote:

> Looks like the root cause of the problem was this:
>
> 2025-08-20T00:12:53+0200 INFO  Launching guest wifibox from 
> /usr/local/share/wifibox with grub-bhyve
> 2025-08-20T00:12:53+0200 INFO  Application config is found at 
> /usr/local/etc/wifibox/wpa_supplicant
> 2025-08-20T00:12:53+0200 INFO  Application config will be mounted writeable
> 2025-08-20T00:12:53+0200 DEBUG Devices: 
> virtio-blk,/usr/local/share/wifibox/disk.img 
> virtio-9p,config=/usr/local/etc/wifibox/appliance,ro 
> virtio-9p,var=/var/run/wifibox/appl
> iance virtio-9p,app_config=/usr/local/etc/wifibox/wpa_supplicant
> 2025-08-20T00:12:53+0200 DEBUG Arguments:  -S -M 128M -r host -c 
> /dev/nmdm-wifibox.1A -d /usr/local/share/wifibox wifibox
> 2025-08-20T00:12:53+0200 DEBUG [grub-bhyve] Could not setup memory for VM
> 2025-08-20T00:12:53+0200 DEBUG [grub-bhyve] Error in initializing VM
>
> Did some ABI important here changed? Rebuilding grub2-bhyve-0.40_11 from 
> source fixed the problem.

I have tracked this down to https://reviews.freebsd.org/D44565

Adding COMPAT_FREEBSD14 to the kernel and/or rebuilding grub-bhyve with libvmmapi.so.7
fixes the problem.

It would be great if this ABI change got documented in RELNOTES/UPDATING, thank you...

Marcin