]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Allow PIT emulation without speaker port
authorJan Kiszka <jan.kiszka@web.de>
Thu, 14 May 2009 20:42:53 +0000 (22:42 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:41 +0000 (08:32 +0300)
commit00731bc9e294676a207b534b506c636e401e78af
tree4b7bc3674faa6259b1e6b07fc616b17dcf281d98
parent6fbca7342381e35c5128eb890458103bc473345a
KVM: Allow PIT emulation without speaker port

The in-kernel speaker emulation is only a dummy and also unneeded from
the performance point of view. Rather, it takes user space support to
generate sound output on the host, e.g. console beeps.

To allow this, introduce KVM_CREATE_PIT2 which controls in-kernel
speaker port emulation via a flag passed along the new IOCTL. It also
leaves room for future extensions of the PIT configuration interface.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/i8254.c
arch/x86/kvm/i8254.h
arch/x86/kvm/x86.c
include/linux/kvm.h