KVM: x86: split kvm_vcpu_ready_for_interrupt_injection out of dm_request_for_irq_inje...
authorMatt Gingell <gingell@google.com>
Mon, 16 Nov 2015 23:26:00 +0000 (15:26 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Nov 2015 11:25:38 +0000 (12:25 +0100)
commit782d422bcaee4680c640fbc8ce8c45524fd11790
tree7728d0951df231b2126b211d7856f1b4fbe4eb6d
parent127a457acb2131fdb31c68c98cf11eda8ba7b380
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: Steve Rutherford <srutherford@google.com>
Signed-off-by: Matt Gingell <gingell@google.com>
Fixes: 1c1a9ce973a7863dd46767226bce2a5f12d48bc6
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c
This page took 0.026517 seconds and 5 git commands to generate.