Re: [PATCH v5 2/3] KVM: VMX: Enable Notify VM exit

From: Sean Christopherson
Date: Wed Apr 06 2022 - 16:32:19 EST


On Wed, Apr 06, 2022, Sean Christopherson wrote:
> On Fri, Mar 18, 2022, Chenyi Qiang wrote:
> Ha, and I think skipping this path on VMX_EXIT_REASONS_FAILED_VMENTRY is also
> technically wrong. That's still a VM-Exit, I'm pretty sure failed VM-Entry only
> skips the MSR load/store list processing (because the load lists on VM-Entry are
> processed after the final consistency checks).

Nope, I'm wrong, the SDM explicit states that only EXIT_QUALIFICATION is modified
on VM-Entry failure VM-Exits. Which means we actually have the opposite bug as
KVM is clearing a bunch of fields.