At this point I don't know where the problem lies.  When I follow

https://wiki.ubuntu.com/PulseAudio/Log

I don't see any attemps to connect by qemu.  (Should I?)

I've disabled seccomp (which I think is disabled by default), allowed
all capabilities in the apparmor profile, and checked that /dev/snd/* is
allowed by cgroups and the qemu process runs with full capabilities (in
/proc/$$/status) as user serge:serge and once as serge:kvm (as a test).

I wrapped qemu in a sh script which runs it under strace -f.  The strace
output is attached here.  Note that the EACCES for opening
/dev/shm/pulse* is for files owned by root - the files owned by serge
were able to be opened.

I see an attempt to attach to /var/run/dbus/system_bus_socket which
seems to succeed.

At this point I don't see why this fails to give me sound, while a
manual 'QEMU_AUDIO_DRV=pa kvm -hda x.img -cdrom saucy.iso -m 1024 -vnc
:1' succeeds.

** Attachment added: "outout"
   
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1246929/+attachment/3930398/+files/outout

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1246929

Title:
  no audio in KVM virtual machines : cannot select alsa or pa

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1246929/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to