This is my take on the split irqchip bug that David reported. It's a much more complicated patch, but I think it really gets to the bottom of the issue and the code is clearer. Paolo Paolo Bonzini (2): KVM: x86: handle !lapic_in_kernel case in kvm_cpu_*_extint KVM: x86: Fix split-irqchip vs interrupt injection window request arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/irq.c | 87 +++++++++++++-------------------- arch/x86/kvm/lapic.c | 2 +- arch/x86/kvm/x86.c | 17 +++---- 4 files changed, 44 insertions(+), 63 deletions(-) -- 2.28.0