]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: nSVM: Drop nested_vmcb_check_{save/control}() wrappers
authorYosry Ahmed <yosry@kernel.org>
Tue, 3 Mar 2026 00:34:07 +0000 (00:34 +0000)
committerSean Christopherson <seanjc@google.com>
Thu, 5 Mar 2026 00:08:51 +0000 (16:08 -0800)
commitb786e34cde42922dace620e6f56f0858edae2311
tree650a0ef88e8533ba186a5b56302a3801e58e2c7d
parent8998e1d012f3f45d0456f16706682cef04c3c436
KVM: nSVM: Drop nested_vmcb_check_{save/control}() wrappers

The wrappers provide little value and make it harder to see what KVM is
checking in the normal flow. Drop them.

Opportunistically fixup comments referring to the functions, adding '()'
to make it clear it's a reference to a function.

No functional change intended.

Co-developed-by: Sean Christopherson <seanjc@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Yosry Ahmed <yosry@kernel.org>
Link: https://patch.msgid.link/20260303003421.2185681-14-yosry@kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/nested.c