Re: [PATCH v3 0/2] KVM: x86: Suppress false positives on "lost" IRQs
From: Sean Christopherson
Date: Fri Jul 31 2026 - 16:17:05 EST
On Fri, 24 Jul 2026 10:34:23 -0700, Sean Christopherson wrote:
> Don't WARN on "lost" IRQs if the VM has an in-kernel PIC or Xen emulation is
> enabled, as vPIC and Xen emulation have guest-controllable and/or VM-wide IRQs
> that can legitimately be consumed/deasserted without holding the vCPU's mutex.
>
> v3:
> - Add a helper to weed out the problematic cases.
> - WARN in the "else" path so that there's only a single conditional branch
> in the happy path.
> - Exempt Xen. [Sashiko]
>
> [...]
Applied to kvm-x86 misc, thanks!
[1/2] KVM: x86: Don't WARN if IRQ disappears because it was cleared from the PIC
https://github.com/kvm-x86/linux/commit/681fb81a4171
[2/2] KVM: x86: Don't WARN if IRQ disappears when Xen emulation is enabled.
https://github.com/kvm-x86/linux/commit/4f05a3337d7b
--
https://github.com/kvm-x86/linux/tree/next