KVM: SVM: Rename get_max_npt_level() to get_npt_level()
authorLai Jiangshan <laijs@linux.alibaba.com>
Thu, 18 Nov 2021 11:08:07 +0000 (19:08 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Dec 2021 09:25:07 +0000 (04:25 -0500)
commit1af4a1199a41f80b4a792ae76d4c79a01d0b5d41
treedee551258cdda8ead9c48744656337af80b97af6
parentfe26f91d30fb129a56f68a880a03ad49d127c07a
KVM: SVM: Rename get_max_npt_level() to get_npt_level()

It returns the only proper NPT level, so the "max" in the name
is not appropriate.

Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Message-Id: <20211118110814.2568-9-jiangshanlai@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c