From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastian Herbszt" Subject: Re: [Qemu-devel] Re: Question about KVM and PC speaker Date: Thu, 14 May 2009 21:48:43 +0200 Message-ID: <849CA0D404CC4D56B50395E5245EA16A@FSCPC> References: <49EF69BC.90300@gmx.de> <49F01C8D.1010203@web.de> <20090423083252.GB5277@const.bordeaux.inria.fr> <49F031C2.5000204@siemens.com> <20090423092546.GF5277@const.bordeaux.inria.fr> <49F035E7.5080906@siemens.com> <49F03A00.8060502@redhat.com> <49F0430A.8010300@siemens.com> <49FF1919.1030909@gmx.de> <49FF5033.1050402@web.de> <20090504205618.GP5889@const.famille.thibault.fr> <49FF5777.8070704@web.de> <4A006268.6040006@linux-fuer-blinde.de> <3D0ED7CD58CF4D37904670A5A85AE2C7@FSCPC> <4A0167B7.2050200@siemens.com> <4A0297D2.4040009@siemens.com> <4A0925F7.5070806@web.de> <6D825FA2F92349029E0C39C9BC4D72C7@FSCPC> <4A09EF38.4000809@web.de> <501C16EC413140DD83301D31BBFC7AA1@FSCPC> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Cc: "Jan Kiszka" , , , "Simon Bienlein" To: "malc" Return-path: Received: from mail.gmx.net ([213.165.64.20]:34352 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752663AbZENTue (ORCPT ); Thu, 14 May 2009 15:50:34 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: malc wrote: > On Wed, 13 May 2009, Sebastian Herbszt wrote: > >> Jan Kiszka wrote: >> > Moreover, does sound work at all with your qemu? >> > The image I tried [1] issues two beeps after loading (obviously via >> > direct hw access) - a good way to check general support. Note that one >> > reason for broken host sound with qemu can be OSS. For that reason I >> > always configure my qemu with --audio-drv-list=alsa. >> >> Thats a good hint :) >> Seems i used to compile qemu without "--audio-drv-list". Since "dsound" and >> "fmod" drivers don't compile here (i likely miss some libs in my mingw), i >> used "sdl". > > Don't do that. Here's a nice tutorial Kazu made that will probably help > you: http://www.h7.dion.ne.jp/~qemu-win/Audio-en.html So you're saying the use of sdl for audio is not recommended? >> Now i can hear those two beeps with the image you suggested. Tho those are >> coming >> thru my sound card and not the hosts pc speaker (even with "-soundhw pcspk", >> but maybe >> that option means something different). > > And it will always come through your soundcard. pcspk is not a passthrough > thing. Thanks for the clarification. >> With INT 10h AH=0Eh i now can hear a beep too, but it doesn't stop and qemu >> somewhat freezes. > > Huh? With this INT 10h function qemu should beep once, but it does loop the beep infinitely. Normally i can exit qemu by clicking on the [x] window close "icon", but while it does endlessly beep that doesn't work (vista says process doesn't respond). Using "quit" in the monitor window doesn't work either. - Sebastian