Re: [PATCH v2 3/3] KVM: X86: Let's harden the ipi fastpath condition edge-trigger mode

From: Paolo Bonzini
Date: Tue Jun 08 2021 - 13:41:01 EST


On 08/06/21 18:35, Sean Christopherson wrote:
Related side topic, anyone happen to know if KVM (and Qemu's) emulation of IPIs
intentionally follows AMD instead of Intel? I suspect it's unintentional,
especially since KVM's initial xAPIC emulation came from Intel. Not that it's
likely to matter, but allowing level-triggered IPIs is bizarre, e.g. getting an
EOI sent to the right I/O APIC at the right time via a level-triggered IPI seems
extremely convoluted.

QEMU traditionally followed AMD a bit more than Intel for historical reasons. Probably the code went QEMU->Xen->KVM even though it was contributed by Intel.

Paolo