+++ This bug was initially created as a clone of Bug #1371243 +++ Description of problem: When graphics protocol is set to "SPICE + VNC", libvirt stars qemu process with environment variable QEMU_AUDIO_DRV=none which causes that client can't hear the VM. (If graphical protocol is set to "SPICE" only, then libvirt sets QEMU_AUDIO_DRV=spice and audio works fine.) Version-Release number of selected component (if applicable): rhevm 3.6.8.1-0.1.el6, ovirt 4.1.0-0.0.master.20160802171327.gitd8decfe.el7.centos How reproducible: 100% Steps to Reproduce: 1. Create a VM with settings: Optimized for=Desktop, Graphics Protocol=SPICE+VNC, check "Soundcard enabled" (Console side-tab) 2. Run the VM 3. Connect to the host the VM is running on and on that host: 4. Check qemu process environment variables (also in /var/log/libvirt/qemu/{vm-name}.log Actual results: QEMU_AUDIO_DRV=none and consequently no sound from VM Expected results: VM sound is accessible even with graphics protocol set to "SPICE + VNC". Additional info: Origin: http://lists.ovirt.org/pipermail/users/2016-August/042233.html --- Additional comment from Moran Goldboim on 2016-08-30 08:56:44 CEST --- is it a regression? do we know from when? --- Additional comment from Tomas Jelinek on 2016-08-30 09:08:36 CEST --- I don't think it ever worked. When you use only SPICE or only VNC, the sound works. Than we introduced the feature of SPICE + VNC together and the sound does not work in this case. So it is not really a regression but a bug in the feature. --- Additional comment from Gianluca Cecchi on 2016-08-30 09:54:44 CEST --- Confirmed (environment described in the additional info web link of description section) with: --- Additional comment from Gianluca Cecchi on 2016-08-30 09:55:24 CEST --- Engine: oVirt 3.6.6.2-1.el7.centos Host CentOS 7.2 based on 3.6.6 with: qemu-kvm-ev-2.3.0-31.el7_2.10.1.x86_64 libvirt-daemon-1.2.17-13.el7_2.4.x86_64 vdsm-4.17.28-0.el7.centos.noarch --- Additional comment from on 2016-08-30 16:27 CEST --- --- Additional comment from on 2016-08-30 16:42 CEST --- --- Additional comment from on 2016-08-30 16:44:17 CEST --- The device is actually present but sound is not transferred over the protocol.
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.
Patch http://gerrit.ovirt.org/63093 provides a workaround that ensures that in case of SPICE+VNC sound will be always available for SPICE.
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.
Verified on : oVirt Engine Version: 4.1.0-0.0.master.20161120231325.gitba51756.el7.centos verification steps: 1. Create a VM with settings: Optimized for=Desktop, Graphics Protocol=SPICE+VNC, check "Soundcard enabled" (Console side-tab) 2. Run the VM 3. Connect to vm via console and play music - WORKED