Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1672981

Summary: Remove workaround for: No sound when VM is started with both Spice and VNC
Product: Red Hat Enterprise Virtualization Manager Reporter: Jaroslav Suchanek <jsuchane>
Component: ovirt-engineAssignee: Nobody <nobody>
Status: CLOSED DEFERRED QA Contact: meital avital <mavital>
Severity: low Docs Contact:
Priority: medium    
Version: unspecifiedCC: ahadas, rik.theys
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1376510 Environment:
Last Closed: 2021-01-03 11:50:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1375433    
Bug Blocks:    

Description Jaroslav Suchanek 2019-02-06 11:45:39 UTC
Workaround initially introduced in bug 1376510 should be removed once the libvirt bug 1375433 is fixed.

+++ This bug was initially created as a clone of Bug #1376510 +++


+++ 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  on 2016-09-15 17:44:54 CEST ---

Patch http://gerrit.ovirt.org/63093 provides a workaround that ensures that in case of SPICE+VNC sound will be always available for SPICE.

Comment 1 Ryan Barry 2019-02-07 00:08:49 UTC
Still in ASSIGNED and not before 7.7. Targeting to 4.4

Comment 2 Arik 2021-01-03 11:50:53 UTC
Closing as bz 1375433 was deferred