I'm not sure pass-thru in CBSD finished ;-) For this reason it still not documented.
Nevertheless, I began work on this. You can try to use
command after booting hoster with corresponding records in /boot/loader.conf:
a) vmm should be loaded via /boot/loader.conf, not after booting system (kldload): vmm_load="YES"
b) you must have pptdevs in /boot/loader.conf ( see https://wiki.freebsd.org/bhyve/pci_passthru ), e.g: pptdevs="5/1/0"
I didn't try the command cbsd bhyve-ppt yet, but I'm about to do so.
I've done the configuration and used pptdevs in the past, i just wanted to know the "CBSD way" of doing PCI passthrough.
Thank you for your help, i'll get back to you after some tests.
I just tried the command and it works like a charm, great feature!
Perhaps it would be good to detach the ppt automatically in case of VM deletion - if a VM was deleted while ppt attached, the ppt device will remain unavailable.
Thank you for all your hard work.
Great! Thank you again for your time and your hard work. I'm using CBSD on a production server and it works pretty good for me, i run around 30 jails and 2 bhyve vms on the same host with ZFS.
I'm also keeping an eye on ClonOS, I really like jails as containers and I really love FreeBSD.