]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: x86: Introduce a workqueue to deliver PIT timer interrupts
authorChris Lalancette <clalance@redhat.com>
Wed, 16 Jun 2010 21:11:11 +0000 (17:11 -0400)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:46:49 +0000 (10:46 +0300)
commit33572ac0ad5ba5016da72e6654e607726568f9c0
treefe622a883803896c98de49226fb1899807005ba9
parentc37eda138473f8c843f2b4aa8da252fdfdaaafa3
KVM: x86: Introduce a workqueue to deliver PIT timer interrupts

We really want to "kvm_set_irq" during the hrtimer callback,
but that is risky because that is during interrupt context.
Instead, offload the work to a workqueue, which is a bit safer
and should provide most of the same functionality.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/i8254.c
arch/x86/kvm/i8254.h
arch/x86/kvm/irq.c