]> git.baikalelectronics.ru Git - kernel.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)
commitb3da006f02d5218bf0bd6f3a0660c49b9307a32f
treefe622a883803896c98de49226fb1899807005ba9
parent1265547b8992c746c30c40e300b914efb1ff63d4
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