Didn't see any problems with that, just specify hda controller in vm config, and it works out of the box in windows guests.I think it's harder to get sound working in bhyve
In case of Windows, if you need GUI anyway, "remote" sound via RDP works fine, doesn't require anything to configure.it's harder to get sound working in bhyve
There is a FreeBSD source fork where passthru for single USB devices is possible.As to USB, bhyve requires passing thru the entire xhci pci controller. Passthru separate USB ports is not achievable. That's the right decision. But it's not convenient for everyone, for example, if you need USB ports for work (for connecting readers, smart card emulators) and the computer does not have a dedicated usb xhci pci controller (as is the case with a laptop). But I myself use bhyve due to stability.
I think it's harder to get sound working in bhyve (I've never tried, I use it for some things where I need Windows for work, and some RHEL servers for experimenting--neither requires sound). Bhyve seems to me (never measured it, so this is subjective), faster than VirtualBox on my system.
If running a system using uefi on bhyve, see vermaden's post in https://forums.freebsd.org/threads/starting-bhyve-am-greeted-with.90227/#post-621370
Added this line to the bhyve launch commands of all my VMs (I use bhyve directly). Now there is sound inside each of them (Windows 10, Debian 11, Debian 12)."-s 8,hda,play=/dev/dsp,rec=/dev/dsp"
What do you mean saying "simple tasks of bhyve"?Which one takes less CPU resources? I heard Bhyve takes up a lot of CPU for simple tasks.
… most members …
… has not been updated to 7.0 yet.
… VirtualBox under FreeBSD … only USB 1.x is supported …
Where? A bug report with FreeBSD or VirtualBox?7.0.20 currently specified in the bug report.
dear vermaden :Both work.
If You prefer to do everything in GUI choose VirtualBox.
If CLI and/or command line is OK for you - both have CLI interfaces.
Where? A bug report with FreeBSD or VirtualBox?
"Extension Pack" is required for full USB support, …
Yes, I know that. The problem is that unfortunately noone is currently working at porting vbox 7.x to FreeBSD, according to the Bugzilla page...7.0.20 or greater will provide what's required.
(7.0.20 currently specified in the bug report.)
Unless you're running FreeBSD on your one and only laptop...One day the significant USB latency in VirtualBox on Linux helped me finding a bug in a product developed at $JOB. Otherwise the bug wasn't reproducible with real hardware, but the customers complained once a month. That was 11 years ago though.
No need to use VB anymore, bhyve() works great, and an extra USB controller for passtru is not a big deal.
dear vermaden :
do you how to add usbdisk to bhyve vm ? thanks.