Re: [PATCH v2] x86/kvm/vmx: Don't halt vcpu when L1 is injecting events to L2

From: Paolo Bonzini
Date: Fri Feb 09 2018 - 07:43:34 EST


On 09/02/2018 06:09, Chao Gao wrote:
> Although L2 is in halt state, it will be in the active state after
> VM entry if the VM entry is vectoring according to SDM 26.6.2 Activity
> State. Halting the vcpu here means the event won't be injected to L2
> and this decision isn't reported to L1. Thus L0 drops an event that
> should be injected to L2.

Can you please write a testcase for kvm-unit-tests?

Thanks,

Paolo