Skip to content
Commit a7557539 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: x86/pmu: preserve IA32_PERF_CAPABILITIES across CPUID refresh



Once MSR_IA32_PERF_CAPABILITIES is changed via vmx_set_msr(), the
value should not be changed by cpuid(). To ensure that the new value
is kept, the default initialization path is moved to intel_pmu_init().
The effective value of the MSR will be 0 if PDCM is clear, however.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 252e365e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment