FAILED: patch "[PATCH] KVM: x86: set KVM_REQ_EVENT on local interrupt request from" failed to apply to 4.3-stable tree
Subsystems (3)
[email protected]
maintainerThe patch below does not apply to the 4.3-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
Quoted 1 line
From
934bf65354227981df15bbc755d33f4ba3443ff2Mon Sep 17 00:00:00 2001
From: Matt Gingell <[email protected]>
Date: Mon, 16 Nov 2015 15:26:05 -0800
Subject: [PATCH] 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.
arch/x86/kvm/x86.c +1 -0
@@ -2806,6 +2806,7 @@ static int kvm_vcpu_ioctl_interrupt(struct kvm_vcpu *vcpu,return -EEXIST ; vcpu->arch.pending_external_vector = irq->irq; +kvm_make_request (KVM_REQ_EVENT , vcpu);return 0 ; }