KVM: VMX: Fix and tweak the comments for VM-Enter
authorSean Christopherson <sean.j.christopherson@intel.com>
Thu, 15 Aug 2019 20:09:31 +0000 (13:09 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 22 Aug 2019 08:09:27 +0000 (10:09 +0200)
commitb6852ae75d4be5d3398a4a501443de221151fa9b
treeca6c6625d6f7664ae5eaf7ef8b660244f7646382
parent12b58f4ed2a1b93f0eae84f308f6e0a143a533d4
KVM: VMX: Fix and tweak the comments for VM-Enter

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@intel.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmenter.S