Re: [PATCH 3/3] KVM: nVMX: Check the event injected into the HLT state on nested VM-Enter

From: Zihui Guo

Date: Thu Dec 03 2026 - 01:06:04 EST


Right. vm_entry_intr_info_field keeps its valid bit until the next
nested VM-Exit, so with this patch KVM_SET_NESTED_STATE rejects the
saved state of an L2 that executed HLT after L1 injected a #PF. v2 will
check the injected event only when a nested run is pending, as is done
for the guest's IA32_EFER.

Thanks,
Zihui