[1/2] changes sync_pir_to_irr interface to avoid a definitely superfluous KVM_REQ_EVENT in [2/2]. It's possible that we don't need KVM_REQ_EVENT, but a slight slowdown in execution is worth the time needed for a proof. (A quick test showed that KVM_REQ_EVENT is always already set if sync_pir_to_irr does something.) [2/2] is applicable to userspace split IOAPIC as well, but I hope that we want it to work like normal IOAPIC (no ACK for edge irq), so I haven't fixed it. Radim Krčmář (2): KVM: x86: return bool from x86_ops.sync_pir_to_irr KVM: x86: fix edge EOI and IOAPIC reconfig race arch/x86/include/asm/kvm_host.h | 2 +- arch/x86/kvm/ioapic.c | 7 ++++++- arch/x86/kvm/svm.c | 4 ++-- arch/x86/kvm/vmx.c | 12 +++++++----- 4 files changed, 16 insertions(+), 9 deletions(-) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html