Message ID | 20221226111710.51831-4-likexu@tencent.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | KVM: x86/pmu: Fix accesses to PMU MSRs in two corner cases | expand |
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index fcb9c317df59..b419ff9cef3b 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -7012,7 +7012,7 @@ static void kvm_init_msr_list(void) unsigned i; BUILD_BUG_ON_MSG(KVM_PMC_MAX_FIXED != 3, - "Please update the fixed PMCs in msrs_to_saved_all[]"); + "Please update the fixed PMCs in msrs_to_save_all[]"); num_msrs_to_save = 0; num_emulated_msrs = 0;