]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0adb9149469c32c5e23ca26bb6aa37c96001a27
tree071f7aeb062722992cc14be2940b377e8dc24893
parent2e386028dc19d308c2e47b6bc643c21f112cd347
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