From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwuMf-0005gz-Ca for qemu-devel@nongnu.org; Thu, 23 Apr 2009 04:33:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwuMZ-0005fu-ER for Qemu-devel@nongnu.org; Thu, 23 Apr 2009 04:33:00 -0400 Received: from [199.232.76.173] (port=37719 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwuMZ-0005fr-4P for Qemu-devel@nongnu.org; Thu, 23 Apr 2009 04:32:55 -0400 Received: from mx20.gnu.org ([199.232.41.8]:59252) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LwuMY-0007HK-PI for Qemu-devel@nongnu.org; Thu, 23 Apr 2009 04:32:54 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LwuMY-0003WM-0a for Qemu-devel@nongnu.org; Thu, 23 Apr 2009 04:32:54 -0400 Date: Thu, 23 Apr 2009 10:32:52 +0200 From: Samuel Thibault Subject: Re: [Qemu-devel] Re: Question about KVM and PC speaker Message-ID: <20090423083252.GB5277@const.bordeaux.inria.fr> References: <49EF69BC.90300@gmx.de> <49F01C8D.1010203@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <49F01C8D.1010203@web.de> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Simon Bienlein , Qemu-devel@nongnu.org Jan Kiszka, le Thu 23 Apr 2009 09:45:17 +0200, a écrit : > Simon Bienlein wrote: > > I hear the beep if I am in the bash of the wirtsystem and press the > > backspace key on the start of the line. The PC speaker works therefore. > > > > How can I configure KVM so that the PC speaker also works in the VM? > > Supports the BIOS PC Speaker beeps? > > Nope, not yet. Neither QEMU nor KVM (with its in-kernel handling of the > involved timer chip) translates the guest's speaker settings into > anything audible. But that should be feasible. Err, have you read the first paragraph? The speaker does work. > > The environment variable QEMU_AUDIO_DRV=alsa is set and I run KVM with > > the option -soundhw all. > > You may succeed with this approach when redirecting the guest's console > beep to the sound card of your virtual machine. The problem is not the guest's console beep: as mentioned above, that one does work. The one that doesn't is the syslinux beep of the debian installer CD, which is supposed to be implemented in the bios. Samuel