diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2015-10-08 21:23:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-09 22:03:16 +0300 |
commit | d5f45ba87a1d13f68a480a75e1ef3b4c801d2283 (patch) | |
tree | f0da67b5af97d184bd9e9515ceaea6a5d1498e28 /arch/x86 | |
parent | 6294fbb5243d83ecb0be7c2a0336eefad70d5e18 (diff) | |
download | linux-d5f45ba87a1d13f68a480a75e1ef3b4c801d2283.tar.xz |
kvm: x86: set KVM_REQ_EVENT when updating IRR
commit c77f3fab441c3e466b4c3601a475fc31ce156b06 upstream.
After moving PIR to IRR, the interrupt needs to be delivered manually.
Reported-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kvm/lapic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index 67d07e051436..7dd9a8d3911a 100644 --- a/arch/x86/kvm/lapic.c +++ b/arch/x86/kvm/lapic.c @@ -339,6 +339,8 @@ void kvm_apic_update_irr(struct kvm_vcpu *vcpu, u32 *pir) struct kvm_lapic *apic = vcpu->arch.apic; __kvm_apic_update_irr(pir, apic->regs); + + kvm_make_request(KVM_REQ_EVENT, vcpu); } EXPORT_SYMBOL_GPL(kvm_apic_update_irr); |