[PATCH 0/3] KVM: x86: kvm_init_msr_list() cleanup
From: Sean Christopherson
Date: Tue Feb 18 2020 - 18:40:19 EST
Three cleanup patches in kvm_init_msr_list() and related code.
Note, these were previously posted as the first three patches of larger
series[*] that mutated into an entirely different beast, which is how they
have been reviewed by Vitaly despite being v1.
[*] https://patchwork.kernel.org/cover/11357065/
Sean Christopherson (3):
KVM: x86: Remove superfluous brackets from case statement
KVM: x86: Take an unsigned 32-bit int for has_emulated_msr()'s index
KVM: x86: Snapshot MSR index in a local variable when processing lists
arch/x86/include/asm/kvm_host.h | 2 +-
arch/x86/kvm/svm.c | 2 +-
arch/x86/kvm/vmx/vmx.c | 2 +-
arch/x86/kvm/x86.c | 26 +++++++++++++++-----------
4 files changed, 18 insertions(+), 14 deletions(-)
--
2.24.1