]> 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)
commit971ab69b090df455fcc88a197ecaa228d2bf9f1b
tree071f7aeb062722992cc14be2940b377e8dc24893
parente058c53d6512bc8254dddb197d4478362d893e2d
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