KVM: unify part of generic timer handling
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 23 Feb 2009 13:57:41 +0000 (10:57 -0300)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:25 +0000 (11:48 +0300)
commitd3c7b77d1a6e7a0a27035a7ba723a3455317883e
tree65053ca8122dda5772c48ce70c9d99e8127f8cdd
parentfd66842370e32f3bbe429677280a326c07e508c1
KVM: unify part of generic timer handling

Hide the internals of vcpu awakening / injection from the in-kernel
emulated timers. This makes future changes in this logic easier and
decreases the distance to more generic timer handling.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/Makefile
arch/x86/kvm/i8254.c
arch/x86/kvm/i8254.h
arch/x86/kvm/kvm_timer.h [new file with mode: 0644]
arch/x86/kvm/lapic.c
arch/x86/kvm/lapic.h
arch/x86/kvm/timer.c [new file with mode: 0644]