VHOST-DEVICE-SOUND(1)
π vhost-device-sound β the manual page, bestie edition π
okay so you're looking at the vhost-device-sound(1) page from the rust-vmm/vhost-device fam. it's giving "vhost-user backend for a VirtIO SOUND device" and honestly? iconic. let's get into it π
β¨ NAME β¨
vhost-device-sound β a vhost-user backend for a VirtIO SOUND device π΅
πΈ SYNOPSIS πΈ
vhost-device-sound -s|--socket-path path [-d|--device spec]
vhost-device-sound [-h|--help]
π¦ DESCRIPTION π¦
so basically this program is a vhost-user backend for a VirtIO SOUND device. it hands out SOUND access to all sorts of entities on the host β and no, not just the ones that are out here providing an SOUND interface themselves. we're generous like that π
it's been tested with QEMU's -device vhost-user-sound-pci, but fr fr it should work with any virtual machine monitor (VMM) that supports vhost-user. see the EXAMPLES section down below for the receipts β¨
π Options
-h,--helpβ prints help. that's it, that's the vibe.-s,--socket=PATHβ where the vhost-user Unix domain sockets live π-s,--socket=PATHβ audio backend to be used [null,pipewire,alsa] π§
not me noticing -s, --socket=PATH shows up twice in the original β we're keeping both, no cap, facts are facts π
π§ EXAMPLES π§
the daemon should be started first, bestie. order matters:
host# vhost-device-sound --socket /tmp/snd.sock --backend null
then the QEMU invocation needs to create a chardev socket that the device can use to communicate, plus share the guest's memory over a memfd:
host# qemu-system \
-chardev socket,path=/tmp/snd.sock,id=vsnd \
-device vhost-user-snd-pci,chardev=vsnd,id=vsnd \
-machine YOUR-MACHINE-OPTIONS,memory-backend=mem \
-m 4096 \
-object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on \
...
π ENVIRONMENT π
RUST_LOGβ logging level. set it todebugfor maximum output π₯ maximum. output. that's the main character setting.
π BUGS π
see GitHub Issues: <https://github.com/rust-vmm/vhost-device/issues> β go be a helpful lil detective π΅οΈβοΈ
π«Ά AUTHORS π«Ά
- Dorinda Bassey
<dbassey@redhat.com> - Matias Ezequiel Vara Larsen
<mvaralar@redhat.com> - Manos Pitsidianakis
<manos@pitsidianak.is>
β SEE ALSO β
and that's the whole page, bestie π this was Version 0.1.0 of vhost-device-sound(1) from the rust-vmm/vhost-device girlies β slay, stay hydrated, and may your sockets always be connected πΈπ¦β¨
π¦ where this page comes from
- fedora 43: vhost-device-sound 0.2.0-10.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Apache-2.0 AND (Apache-2.0 OR BSD-3-Clause) AND (Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND MIT AND (Unlicense OR MIT)
- fedora 43: vhost-device-sound 0.3.0-2.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Apache-2.0 AND (Apache-2.0 OR BSD-3-Clause) AND (Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND MIT AND (Unlicense OR MIT)
- fedora 44: vhost-device-sound 0.3.0-4.fc44 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Apache-2.0 AND (Apache-2.0 OR BSD-3-Clause) AND (Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND MIT AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms