Re: [PATCH 3/4] KVM: x86: pending exception must be be injected even with an injected event

From: Paolo Bonzini
Date: Thu Feb 25 2021 - 12:27:08 EST


On 25/02/21 17:06, Maxim Levitsky wrote:
On Thu, 2021-02-25 at 17:05 +0100, Paolo Bonzini wrote:
On 25/02/21 16:41, Maxim Levitsky wrote:
Injected events should not block a pending exception, but rather,
should either be lost or be delivered to the nested hypervisor as part of
exitintinfo/IDT_VECTORING_INFO
(if nested hypervisor intercepts the pending exception)

Signed-off-by: Maxim Levitsky <mlevitsk@xxxxxxxxxx>

Does this already fix some of your new test cases?

Yes, this fixes the 'interrupted' interrupt delivery test,
while patch fixes th 'interrupted' exception delivery.
Both interrupted by an exception.

Could you post the tests, marking them as XFAIL if possible?

Thanks,

Paolo