]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Enhance and clean up the vmcb tracking comment in pre_svm_run()
authorSean Christopherson <seanjc@google.com>
Tue, 6 Apr 2021 17:18:11 +0000 (10:18 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 20 Apr 2021 08:18:50 +0000 (04:18 -0400)
commit1e234d292ddc5b4b6b0d8db92b647135b52446ba
treee03d240817dad9b0439cf4d248838b7e2c3b0e82
parent17f7cdaf1214fa23f43364bd1ea47114d9fd0526
KVM: SVM: Enhance and clean up the vmcb tracking comment in pre_svm_run()

Explicitly document why a vmcb must be marked dirty and assigned a new
asid when it will be run on a different cpu.  The "what" is relatively
obvious, whereas the "why" requires reading the APM and/or KVM code.

Opportunistically remove a spurious period and several unnecessary
newlines in the comment.

No functional change intended.

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