Re: [PATCH 5/6] KVM: x86/VMX: add kvm_vmx_reinject_nmi_irq() for NMI/IRQ reinjection

Paolo Bonzini
2022-11-11T12:18:05Z

On 11/11/22 13:10, Peter Zijlstra wrote:
> *phew*, that sounds a*lot* better than 'random'. And yes, that should
> do.
>
> Another thing; these patches appear to be about system vectors and
> everything, but what I understand from Andrew is that VMX is only screwy
> vs NMI, not regular interrupts/exceptions, so where does that come from?

Exceptions are fine, for interrupts it's optional in theory but in
practice you have to invoke them manually just like NMIs (I had replied
on this in the other thread).

Paolo

> SVM specifically fixed the NMI wonkyness with their Global Interrupt
> flag thingy.
>