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

KVM: x86: always allow host-initiated writes to PMU MSRs



Whenever an MSR is part of KVM_GET_MSR_INDEX_LIST, it has to be always
retrievable and settable with KVM_GET_MSR and KVM_SET_MSR.  Accept
the PMU MSRs unconditionally in intel_is_valid_msr, if the access was
host-initiated.

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