Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

hardware passthrough?

8 views
Skip to first unread message

David Chmelik

unread,
Jan 11, 2024, 9:21:53 PMJan 11
to
Apparently most hardware doesn't 'passthrough' to virtual machines (VM)
such as BHyVe. This is problematic because some doesn't have FreeBSD UNIX
drivers, just Linux kernel drivers, such as 5.25" front bay multi-function
hubs (such as with Alcor Micro Corp chips)... I thought if I could run
something such as Slackware GNU/Linux in VM then I'd get those (USB/etc.)
drivers... is it unlikely ever in future for all hardware to
'passthrough'?

Andreas Kempe

unread,
Jan 16, 2024, 5:58:45 PMJan 16
to
You can pass PCI devices to bhyve hosts. I'm currently using the
wifibox port and passing my Intel WiFi card to a Linux VM to use the
Linux driver. If you are okay with the host not accessing USB devices
on a specific controller, you could pass the entire USB controller to
the VM.

If you want a VM solution with decent USB passthrough of single
devices, you could have a look at Virtualbox. It's in the port tree
and worked fairly well on FreeBSD the last time I used it. Note that
you can NOT run Virtualbox and Bhyve at the same time. Loading bhyve
kernel modules and Virtualbax kernel modules at the same time crashed
my machine last I tried it.
0 new messages