From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: qemu/kvm seems to take ALSA all for itself? Date: Wed, 23 May 2007 15:28:14 +0300 Message-ID: <4654335E.7010503@qumranet.com> References: <87ps4umerx.fsf@grogan.peloton> <4651AEB5.3070409@qumranet.com> <87zm3wcliz.fsf@grogan.peloton> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, qemu-devel-qX2TKyscuCcdnm+yROfE0A@public.gmane.org To: David Abrahams Return-path: In-Reply-To: <87zm3wcliz.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org David Abrahams wrote: > on Mon May 21 2007, Avi Kivity wrote: > > >> David Abrahams wrote: >> >>> When I have windows XP running under kvm, I get >>> >>> dave@grogan:/tmp$ aplay /usr/share/sounds/gaim/receive.wav >>> ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave >>> aplay: main:550: audio open error: Device or resource busy >>> >>> As soon as I shut down my VM, though, it works perfectly. Is this >>> expected behavior? >>> >>> >> I think you have to set up a mixer or something. But I'd rather be deaf >> than have to wade through all the pseudo-documentation in order to find >> out how. >> > > Maybe I wasn't sufficiently clear. Sound in the VM works fine; it > just seems to kill sound in the host... or is the mixer somehow > supposed to cure that? > > I have a similar problem where running a Java virtual machine kills sound to other apps. I assume that a mixer will fix this, but have been unable to get it to work. Looks like this is a similar problem. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/