by replete · 3y ago · 0 comments
I guess the reality is in a year or two I'll land on fedora and proxmox or something. I have seen plenty of interesting content on proxmox and PCIE passthrough, but very little showing actual pro users with this kind of set up so the MacOS workstation VM idea might not be as practical as I'm hoping.
To my slight surprise, PCIe passthrough was device dependent, ie not all PCIe devices were supported. I'm running TrueNAS which runs a slightly older FreeBSD kernel, and from what I could gather GPU passthrough would not work there. IIRC the latest FreeBSD has some support for that.
But network cards should work, and NVMe's definitely work.
However it wasn't straight sailing. Using the approach from the wiki[1] did not work directly, I had to mask the devices using a pre-init boot script with
devctl set driver -f nvme1 ppt
[1]: https://wiki.freebsd.org/bhyve/pci_passthruDropping the links below:
I heard the apple silicon platform is a bit tighter but that can't really be virtualized on x86.