KVM: In kernel PIT model
authorSheng Yang <sheng.yang@intel.com>
Sun, 27 Jan 2008 21:10:22 +0000 (05:10 +0800)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 09:00:21 +0000 (12:00 +0300)
commit7837699fa6d7adf81f26ab73a5f6897ea1ab9d6a
tree37a89d5c10869a9ada59df75b49d685708661434
parent4fcaa98267efc4d39ded9b0bc33c6b4a2f62fecd
KVM: In kernel PIT model

The patch moves the PIT model from userspace to kernel, and increases
the timer accuracy greatly.

[marcelo: make last_injected_time per-guest]

Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Tested-and-Acked-by: Alex Davis <alex14641@yahoo.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/Makefile
arch/x86/kvm/i8254.c [new file with mode: 0644]
arch/x86/kvm/i8254.h [new file with mode: 0644]
arch/x86/kvm/irq.c
arch/x86/kvm/x86.c
include/asm-x86/kvm_host.h
include/linux/kvm.h