]> www.infradead.org Git - users/dwmw2/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)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 18 Jun 2010 17:43:30 +0000 (14:43 -0300)
commit9d244caf2ea4e4a966447d5a6ce04d8d351ef5fe
tree1ce498ab2b9ea1b77a8411d30c9ed74743d18790
parentaff7d59d6a0f8a8c1e6c5690b517ec6455e0c88f
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