]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c8fe70786d966e03906eeadd110972c6483b0b9
treeca6c6625d6f7664ae5eaf7ef8b660244f7646382
parent0b072481c16f56f38b1da195fb15a2eee7bae2a0
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