Skip to content
Commit 33572ac0 authored by Chris Lalancette's avatar Chris Lalancette Committed by Avi Kivity
Browse files

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: default avatarChris Lalancette <clalance@redhat.com>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
parent c37eda13
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment