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: Wed, 13 May 2009 00:21:25 +0200 Message-ID: <501C16EC413140DD83301D31BBFC7AA1@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> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Cc: "Volker Ruppert" , "Simon Bienlein" , , To: "Jan Kiszka" Return-path: Received: from mail.gmx.net ([213.165.64.20]:60902 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752273AbZELWX3 (ORCPT ); Tue, 12 May 2009 18:23:29 -0400 In-Reply-To: <4A09EF38.4000809@web.de> Sender: kvm-owner@vger.kernel.org List-ID: Jan Kiszka wrote: > Sebastian Herbszt wrote: >> With the modified vgabios (see below) it does beep on bochs on vista, >> but not on qemu. > > Works fine for me! > > Did you check twice that your modified vgabios is actually loaded by > qemu (e.g. via strace)? Yes, it uses the right rom. > 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". 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). With INT 10h AH=0Eh i now can hear a beep too, but it doesn't stop and qemu somewhat freezes. > Jan > > PS: Your patch was mangled by your mail client. Fortunately, it was > small enough for manual fixing. Unfortunatelly Windows Mail tends to do this and i failed to find an option to fix it. - Sebastian