KVM: VMX: Rename vmx_get_max_tdp_level() to vmx_get_max_ept_level()
authorShiyuan Gao <gaoshiyuan@baidu.com>
Thu, 10 Aug 2023 11:38:53 +0000 (19:38 +0800)
committerSean Christopherson <seanjc@google.com>
Thu, 17 Aug 2023 18:34:04 +0000 (11:34 -0700)
commit7d18eef13622d84af93086ae79f081692516ba85
tree3e036082e100204f7739f8eb9f01eea14e334df8
parent775bc098657b4996c8537d0eaf9c20138428b699
KVM: VMX: Rename vmx_get_max_tdp_level() to vmx_get_max_ept_level()

In VMX, ept_level looks better than tdp_level and is consistent with
SVM's get_npt_level().

Signed-off-by: Shiyuan Gao <gaoshiyuan@baidu.com>
Link: https://lore.kernel.org/r/20230810113853.98114-1-gaoshiyuan@baidu.com
[sean: massage changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/vmx/vmx.c