Solved bhyve / Windows 10 - no audio

I have Windows 10 running in Bhyve, but am lacking sound. I would like to have sound to have as much functionality and utility in the VM as possible. If I go to 'System Information', I don't see any sound devices.

I don't have Alpine Linux working graphically yet, but I would like to have sound there too if possible. If I do lspci in Alpine, I just see a VGA controller, no audio. With vm-bhyve, how would I specify an audio device? I don't want to passthru as that means the host wouldn't have audio any longer.
 
As for now, vm-bhyve doesn't have a dedicated option for sound, so you have to specify a device as a "raw" bhyve option:
Code:
bhyve_options="-s 10,hda,play=/dev/dsp,rec=/dev/dsp"
Here I specified "10" as slot number, but feel free to use what suits your needs.
 
Back
Top