Re: [PATCH] KVM: VMX: Fix and tweak the comments for VM-Enter

From: Jim Mattson
Date: Fri Aug 16 2019 - 14:23:01 EST


On Thu, Aug 15, 2019 at 1:11 PM Sean Christopherson
<sean.j.christopherson@xxxxxxxxx> wrote:
>
> Fix an incorrect/stale comment regarding the vmx_vcpu pointer, as guest
> registers are now loaded using a direct pointer to the start of the
> register array.
>
> Opportunistically add a comment to document why the vmx_vcpu pointer is
> needed, its consumption via 'call vmx_update_host_rsp' is rather subtle.
>
> Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>
Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>