[Spice-devel] [PATCH 2/2] Manual: add info about QEMU_AUDIO_DRV

Jonathon Jongsma jjongsma at redhat.com
Wed Nov 30 15:00:08 UTC 2016


hramrach on IRC had an issue with audio not working. He was using
suse and his qemu defaulted to using the pulseaudio audio driver instead
of spice.  Explicitly setting the audio driver to spice using the
QEMU_AUDIO_DRV environment variable solved the problem. Add this tip to
the manual for others having the same issue in the future.
---

Fix typo found by Victor

 docs/manual/manual.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docs/manual/manual.txt b/docs/manual/manual.txt
index 8685715..fd23540 100644
--- a/docs/manual/manual.txt
+++ b/docs/manual/manual.txt
@@ -257,6 +257,12 @@ communication with the client. The Spice option `disable-ticketing` is
 specifying that ticketing (simple authentication method) is not
 used. The virtio and chardev devices are required by the guest agent.
 
+The `-soundhw hda` option provides an audio device for the guest to use for
+audio playback and recording. In order for spice audio to work properly, qemu
+must use the 'spice' audio driver. Depending on how qemu was built, however,
+this might not be the default audio driver. To ensure qemu uses the spice audio
+driver, you can set the environment variable `QEMU_AUDIO_DRV=spice`.
+
 Basic configuration
 -------------------
 
-- 
2.7.4



More information about the Spice-devel mailing list