bhyve Current state of bhyve Nvidia passthrough?

I have no problem admitting I might be dense at times, but I fail to understand how that is really relevant. This is a server with a regular mATX motherboard with a Ryzen 3600, I have no need for support for "more than 255 vCPUs". Maybe I should have specified that (my bad). In any case, I could settle for Ubuntu 24.04 or RHEL for the docker host.
 
I'm about to move a server over from Proxmox to FreeBSD. I need to passthrough a Quadro P400 card to a bhyve Debian vm. I'm ever so slightly confused on the patches discussed in this thread. Is D51892 by Corvin enough (as bendany seemed to indicate in #127) or do I still need to patch for the "KVMKVMKVM\0\0\0" string in addition? Because if the merged patch is enough, I'm tempted to install 15.0 Beta instead of 14.3.
I have not tried it on 15.0 yet. Tried on 14.2 and 14.3 and it works on both. I had to patch the string "KVMKVMKVM\0\0\0" for linux to work. I provided patch files for this and also described how I created the patch's. I haven't tried this recently, so maybe linux is changing to recognize the Bhyve string. I am not using this solution yet on my production system as I am working through some other issues I am having with OpenVPN and jackett.
 
I have no problem admitting I might be dense at times, but I fail to understand how that is really relevant. This is a server with a regular mATX motherboard with a Ryzen 3600, I have no need for support for "more than 255 vCPUs". Maybe I should have specified that (my bad). In any case, I could settle for Ubuntu 24.04 or RHEL for the docker host.
As far as I heard, Linux didn't support Bhyve as VM host, thus, didn't recognize "Bhyve Bhyve" as VM fingerprint. This is said that there are no technical / marketting advantage for Linux to support Bhyve.

But supporting more than 255 vCPUs on Bhyve seems to be considered as technical merit to support Bhyve as VM host for Linux, thus, "Bhyve Bhyve" should be recognized once the patch lands into Linux kernel.

This is my understanding of the message in the patch. Nothing matters if you yourself need more than 255 vCPUs or not. Simply the feature is considered to be worth supporting.
 
I'm about to move a server over from Proxmox to FreeBSD. I need to passthrough a Quadro P400 card to a bhyve Debian vm. I'm ever so slightly confused on the patches discussed in this thread. Is D51892 by Corvin enough (as bendany seemed to indicate in #127) or do I still need to patch for the "KVMKVMKVM\0\0\0" string in addition? Because if the merged patch is enough, I'm tempted to install 15.0 Beta instead of 14.3

The steps I outlined in post #171 work on MX Linux, which is based on debian (12 at the moment I ran that). I'm running the liquorix kernel.
 
I have experimented with 14.3-stable comprised of the patch D51892 (and without patching the "KVMKVMKVM\0\0\0" string), along with Ubuntu 22.04.4 server as a bhyve guest. The kernel version is 5.15.0-160-generic, and the GPU is GTX 1650. I tested nvidia-drivers available using apt tool from 535 to 580 versions. The gpu can only be detected with both nvidia-driver-535-open and options nvidia NVreg_OpenRmEnableUnsupportedGpus=1 configured in a /etc/modprobe.d file.
I conjecture the pass-through problem is also hardware-related, since 2080 Ti is OK while 1060 is not.
 
I have experimented with 14.3-stable comprised of the patch D51892 (and without patching the "KVMKVMKVM\0\0\0" string), along with Ubuntu 22.04.4 server as a bhyve guest. The kernel version is 5.15.0-160-generic, and the GPU is GTX 1650. I tested nvidia-drivers available using apt tool from 535 to 580 versions. The gpu can only be detected with both nvidia-driver-535-open and options nvidia NVreg_OpenRmEnableUnsupportedGpus=1 configured in a /etc/modprobe.d file.
I conjecture the pass-through problem is also hardware-related, since 2080 Ti is OK while 1060 is not.
Interesting, many thanks! My P400 is of the Pascal generation, like the 1060, while 2080 is Turing. I'll be sure to report back when I get around to testing this weekend.
 
Back
Top