Skip to contentSkip to conversation

Question about KVM and PC speaker

Qemu-devel Simon Bienlein 2 participants 2 messages Apr 22, 2009 – Apr 23, 2009

lore
Share & tools
lore
#0 lore raw

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?

The environment variable QEMU_AUDIO_DRV=alsa is set and I run KVM with the option -soundhw all.

Thank you very much for your help in advance.

Simon

#1 lore raw
Quoted 3 lines · Simon Bienlein, le Wed 22 Apr 2009 08:03:58 +0200, a écrit :

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.

Note: syslinux uses the bios function to write character 7 to emit the beep. It looks like qemu's bios doesn't produce the beep in that case, while it should.

Samuel