From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:32896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaTmy-00025Q-Ct for qemu-devel@nongnu.org; Tue, 13 Dec 2011 09:57:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaTmx-0008EA-Ae for qemu-devel@nongnu.org; Tue, 13 Dec 2011 09:57:04 -0500 Received: from mail-ww0-f53.google.com ([74.125.82.53]:50755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaTmx-0008Dx-13 for qemu-devel@nongnu.org; Tue, 13 Dec 2011 09:57:03 -0500 Received: by wgbds1 with SMTP id ds1so12840329wgb.10 for ; Tue, 13 Dec 2011 06:57:01 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20111213080606.GD6815@stefanha-thinkpad.localdomain> Date: Tue, 13 Dec 2011 14:57:01 +0000 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] (no subject) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Erik Lotspeich Cc: qemu-devel@nongnu.org On Tue, Dec 13, 2011 at 12:55 PM, Erik Lotspeich wrote: > On Tue, Dec 13, 2011 at 2:06 AM, Stefan Hajnoczi wro= te: >> 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. =A0 That's just a gue= ss >> but worth looking into. > > Here's my qemu command line: > > qemu =A0 =A0 =A05294 19.6 25.7 2444808 2101252 ? =A0 =A0 Sl =A0 06:47 =A0= 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=3D105(libvirt-qemu) gid=3D112(kvm) groups=3D112(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