KVM: Move apic timer interrupt backlog processing to common code
authorAvi Kivity <avi@qumranet.com>
Tue, 16 Oct 2007 14:23:22 +0000 (16:23 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:53 +0000 (17:52 +0200)
commitab6ef34b906546d85d92dbc3e0fb4e01cce05f62
tree7d6d5211b2e6b1cb0f66fe429e5f1d114017b0c2
parente25e3ed56fce591e09477b0ce043d90f97988f37
KVM: Move apic timer interrupt backlog processing to common code

Beside the obvious goodness of making code more common, this prevents
a livelock with the next patch which moves interrupt injection out of the
critical section.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c
drivers/kvm/svm.c
drivers/kvm/vmx.c