]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: nSVM: Drop redundant/wrong comment in nested_vmcb02_prepare_save()
authorYosry Ahmed <yosry.ahmed@linux.dev>
Tue, 13 Jan 2026 17:28:07 +0000 (17:28 +0000)
committerSean Christopherson <seanjc@google.com>
Wed, 14 Jan 2026 17:07:03 +0000 (09:07 -0800)
commitf00ccdede3c84df2287e59b546fd92d58b7e07af
tree3fff177d04642d927a42e8a7584aff31931700b0
parent69555130dccb39df4d40f90fafc7fc79a5d55b8a
KVM: nSVM: Drop redundant/wrong comment in nested_vmcb02_prepare_save()

The comment above DR6 and DR7 initializations is redundant, because the
entire function follows the same pattern of only initializing the fields
in vmcb02 if the vmcb12 changed or the fields are dirty, which handles
the first execution case.

Also, the comment refers to new_vmcb12 as new_vmcs12. Just drop the
comment.

No functional change intended.

Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev>
Link: https://patch.msgid.link/20260113172807.2178526-1-yosry.ahmed@linux.dev
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/nested.c