[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] (no subject)
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] (no subject) |
Date: |
Tue, 13 Dec 2011 14:57:01 +0000 |
On Tue, Dec 13, 2011 at 12:55 PM, Erik Lotspeich
<address@hidden> wrote:
> On Tue, Dec 13, 2011 at 2:06 AM, Stefan Hajnoczi <address@hidden> wrote:
>> Please post your QEMU command-line (you can find it with "ps aux | grep
>> qemu").
>>
>> If you are running through libvirt/virsh/virt-manager there may be
>> permission requirements since the guest can be set to run as an
>> unprivileged user without access to audio devices. That's just a guess
>> but worth looking into.
>
> Here's my qemu command line:
>
> qemu 5294 19.6 25.7 2444808 2101252 ? Sl 06:47 1:00
^^
Libvirt is running the qemu-kvm process as user 'qemu'. Does that
user have the necessary groups (e.g. 'audio')?
On my system the unprivileged user is called 'libvirt-qemu' and here's
what I get:
$ id libvirt-qemuuid=105(libvirt-qemu) gid=112(kvm) groups=112(kvm)
You may need to add 'qemu' to group 'audio' or whatever is necessary
to let it access ALSA devices or talk to a sound daemon.
Stefan
[Qemu-devel] (no subject), Fred Oliveira, 2011/12/29