qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: Simon Bienlein <s.bienlein@gmx.de>
Cc: Qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Question about KVM and PC speaker
Date: Thu, 23 Apr 2009 09:45:17 +0200	[thread overview]
Message-ID: <49F01C8D.1010203@web.de> (raw)
In-Reply-To: <49EF69BC.90300@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 1427 bytes --]

Simon Bienlein wrote:
> Hello everybody,
> 
> I do my first Stepps with KVM on my Debian Lenny system. I recognized
> the following:
> 
> If I boot the Debian Install CD on the wirtsystem a audible signal is
> played if the boot menu appears. If I boot the CD in the virtual KVM
> machine, the audible bell is not played.
> 
> 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.

For KVM's in-kernel handling some new interface would have to be
established, for QEMU it should even be simpler. It just takes someone
with time and motivation to dig into this.

> 
> 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. There is
http://www.carcosa.net/jason/software/beep which claims to do that, but
I never tried.

> 
> Thank you very much for your help in advance.
> 
> Simon
> Website: <http://www.linux-fuer-blinde.de>
> 

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

  reply	other threads:[~2009-04-23  7:45 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-22 19:02 [Qemu-devel] Question about KVM and PC speaker Simon Bienlein
2009-04-23  7:45 ` Jan Kiszka [this message]
2009-04-23  8:32   ` [Qemu-devel] " Samuel Thibault
2009-04-23  9:06     ` Kevin Wolf
2009-04-23  9:23       ` Samuel Thibault
2009-04-23  9:15     ` Jan Kiszka
2009-04-23  9:25       ` Samuel Thibault
2009-04-23  9:33         ` Jan Kiszka
2009-04-23  9:50           ` Avi Kivity
2009-04-23 10:29             ` Jan Kiszka
2009-04-23 11:09               ` Avi Kivity
2009-04-23 17:42                 ` Jan Kiszka
2009-05-04 16:34               ` Simon Bienlein
2009-05-04 20:29                 ` Jan Kiszka
2009-05-04 20:56                   ` Samuel Thibault
2009-05-04 21:00                     ` Jan Kiszka
2009-05-05 15:59                       ` Simon Bienlein
2009-05-05 22:34                         ` Sebastian Herbszt
2009-05-06 10:34                           ` Jan Kiszka
2009-05-06 20:55                             ` Sebastian Herbszt
2009-05-07  8:12                               ` Jan Kiszka
2009-05-09 22:21                                 ` Sebastian Herbszt
2009-05-12  7:32                                   ` Jan Kiszka
2009-05-12 21:06                                     ` Sebastian Herbszt
2009-05-12 21:50                                       ` Jan Kiszka
2009-05-12 22:21                                         ` Sebastian Herbszt
2009-05-12 22:27                                           ` Samuel Thibault
2009-05-12 22:37                                           ` malc
2009-05-14 19:48                                             ` Sebastian Herbszt
2009-05-14 22:01                                               ` malc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49F01C8D.1010203@web.de \
    --to=jan.kiszka@web.de \
    --cc=Qemu-devel@nongnu.org \
    --cc=s.bienlein@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).