bhyve: allow to specify host sound device

Allow to map sound playback and recording devices to host devices
using "<audio type='oss'/>" OSS audio backend.

Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Roman Bogorodskiy
2020-07-18 15:23:28 +04:00
parent 9375bc7373
commit 26a13ec469
7 changed files with 63 additions and 5 deletions

View File

@@ -19,6 +19,12 @@
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<sound model='ich7'/>
<sound model='ich7'>
<audio id="1"/>
</sound>
<audio type="oss" id="1">
<input dev="/dev/dsp0"/>
<output dev="/dev/dsp0"/>
</audio>
</devices>
</domain>