[Spice-commits] 2 commits - docs/manual

Jonathon Jongsma jjongsma at kemper.freedesktop.org
Mon Dec 5 21:48:28 UTC 2016

 docs/manual/manual.txt |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

New commits:
commit 790cf16d326c860234f624a768f2dd67db04bee0
Author: Jonathon Jongsma <jjongsma at redhat.com>
Date:   Tue Nov 29 10:49:23 2016 -0600

    Manual: add info about QEMU_AUDIO_DRV
    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.

diff --git a/docs/manual/manual.txt b/docs/manual/manual.txt
index e382cd8..e0a1dd6 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
commit 4c9910932941671d44f41fc71caaba13a7dd1937
Author: Jonathon Jongsma <jjongsma at redhat.com>
Date:   Wed Nov 30 08:55:19 2016 -0600

    Switch example sound device to 'hda'
    Recommended sound device for newer operating systems is Intel HD audio
    (hda). Use this in the commandline examples.

diff --git a/docs/manual/manual.txt b/docs/manual/manual.txt
index 20d2cc6..e382cd8 100644
--- a/docs/manual/manual.txt
+++ b/docs/manual/manual.txt
@@ -241,7 +241,7 @@ favourite operating system so you can use it for installation.
 host$ qemu-kvm -boot order=dc -vga qxl \
-        -spice port=3001,disable-ticketing -soundhw ac97 \
+        -spice port=3001,disable-ticketing -soundhw hda \
         -device virtio-serial -chardev spicevmc,id=vdagent,debug=0,name=vdagent \
         -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
         -cdrom /path/to/your.iso /path/to/your.img

More information about the Spice-commits mailing list