Skip to content
Commit 934bf653 authored by Matt Gingell's avatar Matt Gingell Committed by Paolo Bonzini
Browse files

KVM: x86: set KVM_REQ_EVENT on local interrupt request from user space



Set KVM_REQ_EVENT when a PIC in user space injects a local interrupt.

Currently a request is only made when neither the PIC nor the APIC is in
the kernel, which is not sufficient in the split IRQ chip case.

This addresses a problem in QEMU where interrupts are delayed until
another path invokes the event loop.

Reviewed-by: default avatarSteve Rutherford <srutherford@google.com>
Signed-off-by: default avatarMatt Gingell <gingell@google.com>
Fixes: 1c1a9ce9
Cc: stable@vger.kernel.org
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 782d422b
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