Re: [ovirt-users] how to debug no audio in guest?

2016-08-29 Thread Jakub Niedermertl
Hi,

it is not an expected behavior and filed a bug for that 
(https://bugzilla.redhat.com/show_bug.cgi?id=1371243). Please feel free to add 
any details.

Jakub

- Original Message -
> From: "Gianluca Cecchi" 
> To: "Jakub Niedermertl" 
> Cc: "users" , "Michal Skrivanek" 
> 
> Sent: Friday, August 26, 2016 1:58:03 AM
> Subject: Re: [ovirt-users] how to debug no audio in guest?
> 
> On Fri, Aug 26, 2016 at 1:37 AM, Gianluca Cecchi 
> wrote:
> 
> > On Thu, Aug 25, 2016 at 5:17 PM, Jakub Niedermertl 
> > wrote:
> >
> >> Hi Gianluca,
> >>
> >> QEMU_AUDIO_DRV=none is most probably the problem. Libvirt is supposed to
> >> set "QEMU_AUDIO_DRV" to "spice" for VMs with graphics. Please make sure
> >> that the "Optimize for" attribute is set to "Desktop" (in Edit VM dialog)
> >> and try to shutdown and start the VM again. If the QEMU process will still
> >> have QEMU_AUDIO_DRV=none set, you can try to set the variable in
> >> /etc/sysconfig/libvirtd by adding line "QEMU_AUDIO_DRV=spice" and restart
> >> the libvirtd service.
> >>
> >> Jakub
> >>
> >
> >
> [snip]
> 
> 
> >
> > Apparently all is the same in qemu-kvm command lines, comparing c6 with c7
> > one, but I don't understand who drives instead the QEMU_AUDIO_DRV=XXX in
> > log file that is different between the two guests (none vs spice) and btw
> > also in f24 it is spice:
> >
> 
> 
> [snip]
> 
> Understood!
> Actually CentOS 6 guest graphics protocol was configured as "SPICE + VNC"
> and this was the reason of "QEMU_AUDIO_DRV=none"
> Changing it to "SPICE", now I have "QEMU_AUDIO_DRV=spice" in guest logfile
> and also test speakers working inside guest.
> 
> Is this expected? I thought that the "+" would have given an aggregate of
> functionalities, not a limitation... because initialy I wanted to test both
> spice and vnc access...
> If this is the case, probably a note or tool-tip could be useful for the
> final user because it is not so immediate to correlate video with audio...
> 
> Gianluca
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] how to debug no audio in guest?

2016-08-25 Thread Gianluca Cecchi
On Fri, Aug 26, 2016 at 1:37 AM, Gianluca Cecchi 
wrote:

> On Thu, Aug 25, 2016 at 5:17 PM, Jakub Niedermertl 
> wrote:
>
>> Hi Gianluca,
>>
>> QEMU_AUDIO_DRV=none is most probably the problem. Libvirt is supposed to
>> set "QEMU_AUDIO_DRV" to "spice" for VMs with graphics. Please make sure
>> that the "Optimize for" attribute is set to "Desktop" (in Edit VM dialog)
>> and try to shutdown and start the VM again. If the QEMU process will still
>> have QEMU_AUDIO_DRV=none set, you can try to set the variable in
>> /etc/sysconfig/libvirtd by adding line "QEMU_AUDIO_DRV=spice" and restart
>> the libvirtd service.
>>
>> Jakub
>>
>
>
[snip]


>
> Apparently all is the same in qemu-kvm command lines, comparing c6 with c7
> one, but I don't understand who drives instead the QEMU_AUDIO_DRV=XXX in
> log file that is different between the two guests (none vs spice) and btw
> also in f24 it is spice:
>


[snip]

Understood!
Actually CentOS 6 guest graphics protocol was configured as "SPICE + VNC"
and this was the reason of "QEMU_AUDIO_DRV=none"
Changing it to "SPICE", now I have "QEMU_AUDIO_DRV=spice" in guest logfile
and also test speakers working inside guest.

Is this expected? I thought that the "+" would have given an aggregate of
functionalities, not a limitation... because initialy I wanted to test both
spice and vnc access...
If this is the case, probably a note or tool-tip could be useful for the
final user because it is not so immediate to correlate video with audio...

Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] how to debug no audio in guest?

2016-08-25 Thread Gianluca Cecchi
On Thu, Aug 25, 2016 at 5:17 PM, Jakub Niedermertl 
wrote:

> Hi Gianluca,
>
> QEMU_AUDIO_DRV=none is most probably the problem. Libvirt is supposed to
> set "QEMU_AUDIO_DRV" to "spice" for VMs with graphics. Please make sure
> that the "Optimize for" attribute is set to "Desktop" (in Edit VM dialog)
> and try to shutdown and start the VM again. If the QEMU process will still
> have QEMU_AUDIO_DRV=none set, you can try to set the variable in
> /etc/sysconfig/libvirtd by adding line "QEMU_AUDIO_DRV=spice" and restart
> the libvirtd service.
>
> Jakub
>

So, some revamping of information as some time has passed and new guests
have been nstalled on the same system:

Engine version (self hosted) : oVirt Engine Version: 3.6.6.2-1.el7.centos

Host OS : CentOS 7.2 with kernel 3.10.0-327.18.2.el7.x86_64

Host oVirt version is 3.6.6 as in ovirt-release36-3.6.6-1.noarch

Host libvirt/vdsmd components:
[g.cecchi@ovirt01 ~]$ rpm -qa|grep -E "libvirt|vdsm"
libvirt-daemon-driver-network-1.2.17-13.el7_2.4.x86_64
libvirt-python-1.2.17-2.el7.x86_64
vdsm-cli-4.17.28-0.el7.centos.noarch
libvirt-lock-sanlock-1.2.17-13.el7_2.4.x86_64
libvirt-daemon-driver-secret-1.2.17-13.el7_2.4.x86_64
libvirt-daemon-config-network-1.2.17-13.el7_2.4.x86_64
vdsm-xmlrpc-4.17.28-0.el7.centos.noarch
libvirt-glib-0.1.9-1.el7.x86_64
libvirt-daemon-driver-qemu-1.2.17-13.el7_2.4.x86_64
libvirt-daemon-kvm-1.2.17-13.el7_2.4.x86_64
libvirt-client-1.2.17-13.el7_2.4.x86_64
vdsm-hook-vmfex-dev-4.17.28-0.el7.centos.noarch
libvirt-daemon-driver-storage-1.2.17-13.el7_2.4.x86_64
vdsm-infra-4.17.28-0.el7.centos.noarch
vdsm-jsonrpc-4.17.28-0.el7.centos.noarch
libvirt-daemon-config-nwfilter-1.2.17-13.el7_2.4.x86_64
vdsm-python-4.17.28-0.el7.centos.noarch
libvirt-gobject-0.1.9-1.el7.x86_64
libvirt-daemon-driver-interface-1.2.17-13.el7_2.4.x86_64
vdsm-yajsonrpc-4.17.28-0.el7.centos.noarch
libvirt-daemon-driver-nodedev-1.2.17-13.el7_2.4.x86_64
libvirt-gconfig-0.1.9-1.el7.x86_64
libvirt-daemon-driver-nwfilter-1.2.17-13.el7_2.4.x86_64
vdsm-4.17.28-0.el7.centos.noarch
libvirt-daemon-1.2.17-13.el7_2.4.x86_64

Host hw : intel NUC6i5SYH

Client is Fedora 23 with virt-viewer-3.0-1.fc23.x86_64

With a Fedora 24 guest accessed using firefox, user portal and
remote-viewer, sounds are ok (test speakers).
The Fedora 24 guest is configured as "Optimized for Desktop", in its
console options, advanced parameters, I have "soundcard enabled"

And in web admin portal I see this line in f24 VM bottom pane, label "Vm
devices":
https://drive.google.com/file/d/0BwoPbcrMv8mvU0tQZTNBVmZVcTg/view?usp=sharing

Also for a CentOS 7.2 guest, with same config, sound is ok (test speakers)
Instead for a CentOS 6.8 guest with same config I see the device inside the
OS, but no sound:

https://drive.google.com/file/d/0BwoPbcrMv8mvbHRLSDBueVZObTA/view?usp=sharing

In CentOS 6.8 the audio device is seen as:
00:08.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
High Definition Audio Controller (rev 01)

and it seems the same in CentOS 7.2 guest OS:
00:08.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
High Definition Audio Controller (rev 01)

Under /var/log/libvirt/qemu of host I indeed see

C6 c6desktop.log:

2016-08-25 23:00:37.668+: starting up libvirt version: 1.2.17, package:
13.el7_2.4 (CentOS Build
System , 2016-03-31-16:56:26,
worker1.bsys.centos.org), qemu version: 2.3.0
(qemu-kvm-ev-2.3.0-31.el7_2.10.1)
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
QEMU_AUDIO_DRV=none /usr/libexec/qem
u-kvm -name c6desktop ...

C7 c7desktop.log :

2016-08-25 22:59:02.531+: starting up libvirt version: 1.2.17, package:
13.el7_2.4 (CentOS Build
System , 2016-03-31-16:56:26,
worker1.bsys.centos.org), qemu version: 2.3.0
(qemu-kvm-ev-2.3.0-31.el7_2.10.1)
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
QEMU_AUDIO_DRV=spice /usr/libexec/qe
mu-kvm -name c7desktop ...

Apparently all is the same in qemu-kvm command lines, comparing c6 with c7
one, but I don't understand who drives instead the QEMU_AUDIO_DRV=XXX in
log file that is different between the two guests (none vs spice) and btw
also in f24 it is spice:

2016-07-31 23:00:44.778+: starting up libvirt version: 1.2.17, package:
13.el7_2.4 (CentOS Build
System , 2016-03-31-16:56:26,
worker1.bsys.centos.org), qemu version: 2.3.0
(qemu-kvm-ev-2.3.0-31.el7_2.10.1)
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
QEMU_AUDIO_DRV=spice /usr/libexec/qe
mu-kvm -name f24 ...

Could it be that initially c6 was created as optimized for server and then
even if changing it to optimized for desktop, it doesn't get actually some
parts of the change?

Or something related to ich6 drivers in CentOS 6?

In messages of C6 guest I see:
Aug 26 01:00:58 localhost kernel: snd_hda_intel :00:08.0: PCI INT A ->
Link[LNKD] -> GSI 10 (level, high) -> IRQ 10
Aug 26 01:00:58 localhost kernel: 

Re: [ovirt-users] how to debug no audio in guest?

2016-08-25 Thread Jakub Niedermertl
Hi Gianluca,

QEMU_AUDIO_DRV=none is most probably the problem. Libvirt is supposed to set 
"QEMU_AUDIO_DRV" to "spice" for VMs with graphics. Please make sure that the 
"Optimize for" attribute is set to "Desktop" (in Edit VM dialog) and try to 
shutdown and start the VM again. If the QEMU process will still have 
QEMU_AUDIO_DRV=none set, you can try to set the variable in 
/etc/sysconfig/libvirtd by adding line "QEMU_AUDIO_DRV=spice" and restart the 
libvirtd service.

Jakub


- Original Message -
> From: "Michal Skrivanek" 
> To: "Gianluca Cecchi" 
> Cc: "users" 
> Sent: Wednesday, August 24, 2016 4:43:43 PM
> Subject: Re: [ovirt-users] how to debug no audio in guest?
> 
> 
> 
> 
> 
> On 11 Jun 2016, at 05:42, Gianluca Cecchi < gianluca.cec...@gmail.com >
> wrote:
> 
> Hello,
> I'm testing video and audio capacity inside a guest.
> Guest chosen is CentOS 6 with latest updates.
> oVirt is 3.6.6 on an intel NUC6i5SYH with CentOS 7.2 OS
> 
> BTW: is it of any importance audio adapter on the host?
> In case lspci on host gives
> 00:1f.3 Audio device: Intel Corporation Device 9d70 (rev 21)
> 
> Client connecting from user portal is Fedora 23 on an Asus laptop U36SD where
> audio works and lspci gives
> 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family
> High Definition Audio Controller (rev 05)
> 
> On CentOS 6 guest the audio adapter detected by OS with lspci is
> 00:08.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
> High Definition Audio Controller (rev 01)
> 
> It seems all ok, apart that on guest actually I don't get any audio, also
> from test speakers page ;-)
> Both on guest and on client the volume bar is near the maximum.
> 
> Any hints about debugging?
> From host point of view the qemu-kvm command line is this one below
> 
> I don't understand the env variable
> QEMU_AUDIO_DRV=none
> ???
> 
> If it can be of any importance, I initially configured the guest without
> sound card and in fact in gnome I saw the audio card as "dummy".
> Then I powered off the guest and enabled sound card from user portal edit vm
> (I see it enabled also from admin portal btw...) and then powered on the VM.
> Now the sound card seems to be present but no audio
> 
> Sorry for late response:/
> This would be best answered by spice guys I guess
> Latest virt-viewer?
> 
> 
> 
> 
> 
> Thanks in advance,
> Gianluca
> 
> 2016-06-11 09:22:13.698+: starting up libvirt version: 1.2.17, package:
> 13.el7_2.4 (CentOS BuildSystem < http://bugs.centos.org >, 2016-03-
> 31-16:56:26, worker1.bsys.centos.org ), qemu version: 2.3.0
> (qemu-kvm-ev-2.3.0-31.el7_2.10.1)
> LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
> QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name c6desktop -S -machine
> pc-i440
> fx-rhel7.2.0,accel=kvm,usb=off -cpu Broadwell-noTSX -m
> size=3145728k,slots=16,maxmem=4294967296k -realtime mlock=off -smp
> 1,maxcpus=16,socket
> s=16,cores=1,threads=1 -numa node,nodeid=0,cpus=0,mem=3072 -uuid
> 68a82ada-a1d2-44d0-85b0-f3a08cc2f579 -smbios type=1,manufacturer=oVirt,produ
> ct=oVirt
> Node,version=7-2.1511.el7.centos.2.10,serial=AC1EDDD3-CAF1-2711-EE16-B8AEED7F1711,uuid=68a82ada-a1d2-44d0-85b0-f3a08cc2f579
> -no-user
> -config -nodefaults -chardev
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-c6desktop/monitor.sock,server,nowait
> -mon chardev=charmo
> nitor,id=monitor,mode=control -rtc base=2016-06-11T09:22:13,driftfix=slew
> -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boo
> t menu=on,strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x9.0x7
> -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x
> 9.0x2 -device
> ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x9.0x1 -device
> ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,
> multifunction=on,addr=0x9 -device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x3
> -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pc
> i.0,addr=0x4 -drive if=none,id=drive-ide0-1-0,readonly=on,format=raw -device
> ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
> file=/rhev/data-center/0001-0001-0001-0001-0343/572eabe7-15d0-42c2-8fa9-0bd773e22e2e/images/aff55e62-6a41-4f75-bbd3-78561eae18f3/
> f520473e-8fbe-4886-bb64-921b42edf499,if=none,id=drive-virtio-disk0,format=raw,serial=aff55e62-6a41-4f75-bbd3-78561eae18f3,cache=none,werror=s
> top,rerror=stop,aio=threads -device
> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
> -netdev t
> ap,fd=28,id=hostnet0,vhost=on,vhostfd=29 -device
> virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:16:01:51,bus=pci.0,addr=0x7
> -chardev soc
> ket,id=charserial0,path=/var/run/ovirt-vmconsole-console/68a82ada-a1d2-44d0-85b0-f3a08cc2f579.soc
> k,server,nowait -device isa-serial,chardev=charserial0,id=serial0 -chardev
> 

Re: [ovirt-users] how to debug no audio in guest?

2016-08-24 Thread Michal Skrivanek

> On 11 Jun 2016, at 05:42, Gianluca Cecchi  wrote:
> 
> Hello,
> I'm testing video and audio capacity inside a guest.
> Guest chosen is CentOS 6 with latest updates.
> oVirt is 3.6.6 on an intel NUC6i5SYH with CentOS 7.2 OS
> 
> BTW: is it of any importance audio adapter on the host?
> In case lspci on host gives
> 00:1f.3 Audio device: Intel Corporation Device 9d70 (rev 21)
> 
> Client connecting from user portal is Fedora 23 on an Asus laptop U36SD where 
> audio works and lspci gives
> 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family 
> High Definition Audio Controller (rev 05)
> 
> On CentOS 6 guest the audio adapter detected by OS with lspci is
> 00:08.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) 
> High Definition Audio Controller (rev 01)
> 
> It seems all ok, apart that on guest actually I don't get any audio, also 
> from test speakers page ;-)
> Both on guest and on client the volume bar is near the maximum.
> 
> Any hints about debugging?
> From host point of view the qemu-kvm command line is this one below
> 
> I don't understand the env variable
> QEMU_AUDIO_DRV=none
> ???
> 
> If it can be of any importance, I initially configured the guest without 
> sound card and in fact in gnome I saw the audio card as "dummy".
> Then I powered off the guest and enabled sound card from user portal edit vm 
> (I see it enabled also from admin portal btw...) and then powered on the VM.
> Now the sound card seems to be present but no audio

Sorry for late response:/
This would be best answered by spice guys I guess
Latest virt-viewer?

> 
> Thanks in advance,
> Gianluca
> 
> 2016-06-11 09:22:13.698+: starting up libvirt version: 1.2.17, package: 
> 13.el7_2.4 (CentOS BuildSystem  >, 2016-03-
> 31-16:56:26, worker1.bsys.centos.org ), qemu 
> version: 2.3.0 (qemu-kvm-ev-2.3.0-31.el7_2.10.1)
> LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin 
> QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name c6desktop -S -machine pc-i440
> fx-rhel7.2.0,accel=kvm,usb=off -cpu Broadwell-noTSX -m 
> size=3145728k,slots=16,maxmem=4294967296k -realtime mlock=off -smp 
> 1,maxcpus=16,socket
> s=16,cores=1,threads=1 -numa node,nodeid=0,cpus=0,mem=3072 -uuid 
> 68a82ada-a1d2-44d0-85b0-f3a08cc2f579 -smbios type=1,manufacturer=oVirt,produ
> ct=oVirt 
> Node,version=7-2.1511.el7.centos.2.10,serial=AC1EDDD3-CAF1-2711-EE16-B8AEED7F1711,uuid=68a82ada-a1d2-44d0-85b0-f3a08cc2f579
>  -no-user
> -config -nodefaults -chardev 
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-c6desktop/monitor.sock,server,nowait
>  -mon chardev=charmo
> nitor,id=monitor,mode=control -rtc base=2016-06-11T09:22:13,driftfix=slew 
> -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boo
> t menu=on,strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x9.0x7 
> -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x
> 9.0x2 -device 
> ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x9.0x1 -device 
> ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,
> multifunction=on,addr=0x9 -device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x3 
> -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pc
> i.0,addr=0x4 -drive if=none,id=drive-ide0-1-0,readonly=on,format=raw -device 
> ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive 
> file=/rhev/data-center/0001-0001-0001-0001-0343/572eabe7-15d0-42c2-8fa9-0bd773e22e2e/images/aff55e62-6a41-4f75-bbd3-78561eae18f3/
> f520473e-8fbe-4886-bb64-921b42edf499,if=none,id=drive-virtio-disk0,format=raw,serial=aff55e62-6a41-4f75-bbd3-78561eae18f3,cache=none,werror=s
> top,rerror=stop,aio=threads -device 
> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
>  -netdev t
> ap,fd=28,id=hostnet0,vhost=on,vhostfd=29 -device 
> virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:16:01:51,bus=pci.0,addr=0x7
>  -chardev soc
> ket,id=charserial0,path=/var/run/ovirt-vmconsole-console/68a82ada-a1d2-44d0-85b0-f3a08cc2f579.soc
> k,server,nowait -device isa-serial,chardev=charserial0,id=serial0 -chardev 
> socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/68a82ada-a1d2-44d0-85b0-f3a08cc2f579.com.redhat.rhevm.vdsm,server,nowait
>  -device 
> virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
>  -chardev 
> socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/68a82ada-a1d2-44d0-85b0-f3a08cc2f579.org.qemu.guest_agent.0,server,nowait
>  -device 
> virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0
>  -chardev spicevmc,id=charchannel2,name=vdagent -device 
> virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0
>  -spice 
> 

[ovirt-users] how to debug no audio in guest?

2016-06-11 Thread Gianluca Cecchi
Hello,
I'm testing video and audio capacity inside a guest.
Guest chosen is CentOS 6 with latest updates.
oVirt is 3.6.6 on an intel NUC6i5SYH with CentOS 7.2 OS

BTW: is it of any importance audio adapter on the host?
In case lspci on host gives
00:1f.3 Audio device: Intel Corporation Device 9d70 (rev 21)

Client connecting from user portal is Fedora 23 on an Asus laptop U36SD
where audio works and lspci gives
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family
High Definition Audio Controller (rev 05)

On CentOS 6 guest the audio adapter detected by OS with lspci is
00:08.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
High Definition Audio Controller (rev 01)

It seems all ok, apart that on guest actually I don't get any audio, also
from test speakers page ;-)
Both on guest and on client the volume bar is near the maximum.

Any hints about debugging?
>From host point of view the qemu-kvm command line is this one below

I don't understand the env variable
QEMU_AUDIO_DRV=none
???

If it can be of any importance, I initially configured the guest without
sound card and in fact in gnome I saw the audio card as "dummy".
Then I powered off the guest and enabled sound card from user portal edit
vm (I see it enabled also from admin portal btw...) and then powered on the
VM.
Now the sound card seems to be present but no audio

Thanks in advance,
Gianluca

2016-06-11 09:22:13.698+: starting up libvirt version: 1.2.17, package:
13.el7_2.4 (CentOS BuildSystem , 2016-03-
31-16:56:26, worker1.bsys.centos.org), qemu version: 2.3.0
(qemu-kvm-ev-2.3.0-31.el7_2.10.1)
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name c6desktop -S -machine
pc-i440
fx-rhel7.2.0,accel=kvm,usb=off -cpu Broadwell-noTSX -m
size=3145728k,slots=16,maxmem=4294967296k -realtime mlock=off -smp
1,maxcpus=16,socket
s=16,cores=1,threads=1 -numa node,nodeid=0,cpus=0,mem=3072 -uuid
68a82ada-a1d2-44d0-85b0-f3a08cc2f579 -smbios type=1,manufacturer=oVirt,produ
ct=oVirt
Node,version=7-2.1511.el7.centos.2.10,serial=AC1EDDD3-CAF1-2711-EE16-B8AEED7F1711,uuid=68a82ada-a1d2-44d0-85b0-f3a08cc2f579
-no-user
-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-c6desktop/monitor.sock,server,nowait
-mon chardev=charmo
nitor,id=monitor,mode=control -rtc base=2016-06-11T09:22:13,driftfix=slew
-global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boo
t menu=on,strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x9.0x7
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x
9.0x2 -device
ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x9.0x1 -device
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,
multifunction=on,addr=0x9 -device
virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x3 -device
virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pc
i.0,addr=0x4 -drive if=none,id=drive-ide0-1-0,readonly=on,format=raw
-device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
file=/rhev/data-center/0001-0001-0001-0001-0343/572eabe7-15d0-42c2-8fa9-0bd773e22e2e/images/aff55e62-6a41-4f75-bbd3-78561eae18f3/
f520473e-8fbe-4886-bb64-921b42edf499,if=none,id=drive-virtio-disk0,format=raw,serial=aff55e62-6a41-4f75-bbd3-78561eae18f3,cache=none,werror=s
top,rerror=stop,aio=threads -device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
-netdev t
ap,fd=28,id=hostnet0,vhost=on,vhostfd=29 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:16:01:51,bus=pci.0,addr=0x7
-chardev soc
ket,id=charserial0,path=/var/run/ovirt-vmconsole-console/68a82ada-a1d2-44d0-85b0-f3a08cc2f579.soc
k,server,nowait -device isa-serial,chardev=charserial0,id=serial0 -chardev
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/68a82ada-a1d2-44d0-85b0-f3a08cc2f579.com.redhat.rhevm.vdsm,server,nowait
-device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
-chardev
socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/68a82ada-a1d2-44d0-85b0-f3a08cc2f579.org.qemu.guest_agent.0,server,nowait
-device
virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0
-chardev spicevmc,id=charchannel2,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0
-spice
port=5901,tls-port=5902,addr=0,x509-dir=/etc/pki/vdsm/libvirt-spice,seamless-migration=on
-vnc 0:3,password -device
qxl-vga,id=video0,ram_size=67108864,vram_size=8388608,vgamem_mb=16,bus=pci.0,addr=0x2
-device intel-hda,id=sound0,bus=pci.0,addr=0x8 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
spicevmc,id=charredir0,name=usbredir -device
usb-redir,chardev=charredir0,id=redir0 -chardev
spicevmc,id=charredir1,name=usbredir -device
usb-redir,chardev=charredir1,id=redir1 -chardev