KVM: VMX: Rename "vmx_find_msr_index" to "vmx_find_loadstore_msr_slot"
authorSean Christopherson <sean.j.christopherson@intel.com>
Wed, 23 Sep 2020 18:03:57 +0000 (11:03 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Sep 2020 11:57:55 +0000 (07:57 -0400)
commita128a934f202530036f867b284b3554e754452e9
tree071f7aeb062722992cc14be2940b377e8dc24893
parentce833b2324ba6e5367a54e641a36b61dedb1199b
KVM: VMX: Rename "vmx_find_msr_index" to "vmx_find_loadstore_msr_slot"

Add "loadstore" to vmx_find_msr_index() to differentiate it from the so
called shared MSRs helpers (which will soon be renamed), and replace
"index" with "slot" to better convey that the helper returns slot in the
array, not the MSR index (the value that gets stuffed into ECX).

No functional change intended.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200923180409.32255-4-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/vmx/vmx.h