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

KVM: x86: split kvm_vcpu_ready_for_interrupt_injection out of dm_request_for_irq_injection



This patch breaks out a new function kvm_vcpu_ready_for_interrupt_injection.
This routine encapsulates the logic required to determine whether a vcpu
is ready to accept an interrupt injection, which is now required on
multiple paths.

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 127a457a
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