Re: building bhyve from source

From: Sean McBride <sean_at_rogue-research.com>
Date: Tue, 12 Dec 2023 19:33:17 UTC
On 12 Dec 2023, at 14:08, Denis Kirjanov wrote:

> The patch mentions only the kernel, so you have to rebuild the vmm 
> module

That's a nice simplification, thanks!

So I've replaced `/boot/kernel/vmm.ko` with the one I built, and 
rebooted.  Alas it doesn't seem to load.  I see in /var/run/dmesg.boot:

```
KLD vmm.ko: depends on kernel - not available or version mismatch
linker_load_file: /boot/kernel/vmm.ko - unsupported file type
```

Must the FreeBSD version of the machine doing the compiling exactly 
match the FreeBSD version of TrueNAS?

I complied on a 13.2-RELEASE-p7 machine, but TrueNAS is still 
13.1-RELEASE-p9.

Cheers,

Sean