]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
kvm: x86: Add user space part for in-kernel i8254
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 2 Mar 2012 19:28:49 +0000 (20:28 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 7 Mar 2012 10:27:43 +0000 (12:27 +0200)
commit5d17c0d2df4998598e6002b27b8e47e792899a0f
tree0615a78c68059aa79cc2c3663d954630e097b508
parent8a7c73932e03f13f29dea8622e15f1ded478d407
kvm: x86: Add user space part for in-kernel i8254

This provides the required user space stubs to enable the in-kernel
i8254 emulation of KVM.

The in-kernel model supports lost tick compensation according to the
"delay" policy. This is enabled by default and can be switched off via a
device property.

Depending on the feature set of the host kernel (before 2.6.32), we may
have to disable the HPET or lack sound output from the PC speaker.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Makefile.target
hw/i8254.h
hw/kvm/i8254.c [new file with mode: 0644]
hw/pc.c