qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu/kvm seems to take ALSA all for itself?
@ 2007-05-21 14:29 David Abrahams
  2007-05-21 14:37 ` [Qemu-devel] Re: [kvm-devel] " Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: David Abrahams @ 2007-05-21 14:29 UTC (permalink / raw)
  To: qemu-devel; +Cc: kvm-devel


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?

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?
  2007-05-21 14:29 [Qemu-devel] qemu/kvm seems to take ALSA all for itself? David Abrahams
@ 2007-05-21 14:37 ` Avi Kivity
  2007-05-23  2:37   ` [Qemu-devel] " David Abrahams
  0 siblings, 1 reply; 4+ messages in thread
From: Avi Kivity @ 2007-05-21 14:37 UTC (permalink / raw)
  To: David Abrahams; +Cc: kvm-devel, qemu-devel

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.

-- 
error compiling committee.c: too many arguments to function

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] Re: qemu/kvm seems to take ALSA all for itself?
  2007-05-21 14:37 ` [Qemu-devel] Re: [kvm-devel] " Avi Kivity
@ 2007-05-23  2:37   ` David Abrahams
  2007-05-23 12:28     ` [Qemu-devel] Re: [kvm-devel] " Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: David Abrahams @ 2007-05-23  2:37 UTC (permalink / raw)
  To: qemu-devel; +Cc: kvm-devel


on Mon May 21 2007, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org> 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?

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?
  2007-05-23  2:37   ` [Qemu-devel] " David Abrahams
@ 2007-05-23 12:28     ` Avi Kivity
  0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2007-05-23 12:28 UTC (permalink / raw)
  To: David Abrahams; +Cc: kvm-devel, qemu-devel

David Abrahams wrote:
> on Mon May 21 2007, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org> 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-05-23 12:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-21 14:29 [Qemu-devel] qemu/kvm seems to take ALSA all for itself? David Abrahams
2007-05-21 14:37 ` [Qemu-devel] Re: [kvm-devel] " Avi Kivity
2007-05-23  2:37   ` [Qemu-devel] " David Abrahams
2007-05-23 12:28     ` [Qemu-devel] Re: [kvm-devel] " Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).