Re: [PATCH 02/28] KVM: x86: enable event window in inject_pending_event

2020-05-29 Thread Paolo Bonzini
On 29/05/20 04:16, Krish Sadhukhan wrote: > > On 5/26/20 10:22 AM, Paolo Bonzini wrote: >> In case an interrupt arrives after nested.check_events but before the >> call to kvm_cpu_has_injectable_intr, we could end up enabling the >> interrupt >> window even if the interrupt is actually going to be

Re: [PATCH 02/28] KVM: x86: enable event window in inject_pending_event

2020-05-28 Thread Krish Sadhukhan
On 5/26/20 10:22 AM, Paolo Bonzini wrote: In case an interrupt arrives after nested.check_events but before the call to kvm_cpu_has_injectable_intr, we could end up enabling the interrupt window even if the interrupt is actually going to be a vmexit. This is useless rather than harmful, but it