KVM: SVM: Add a comment to clarify what vcpu_svm.vmcb points at
authorSean Christopherson <seanjc@google.com>
Tue, 6 Apr 2021 17:18:10 +0000 (10:18 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 20 Apr 2021 08:18:49 +0000 (04:18 -0400)
commit554cf31474937f0a78045aaa7df565ffb6a29c43
treeb5043a36ae1d1cd5f17f3f65caf21b196ed8f775
parentd1788191fdb03691059ab7aeed36206977f2d784
KVM: SVM: Add a comment to clarify what vcpu_svm.vmcb points at

Add a comment above the declaration of vcpu_svm.vmcb to call out that it
is simply a shorthand for current_vmcb->ptr.  The myriad accesses to
svm->vmcb are quite confusing without this crucial detail.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210406171811.4043363-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.h