diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-05-25 04:39:22 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-08 04:48:40 -0400 |
commit | d1c88a4020567ba4da52f778bcd9619d87e4ea75 (patch) | |
tree | be0105851a384baec1e10ca214286743eb9e28f8 /arch/x86/kvm/vmx/vmx.c | |
parent | bfb088d9fb5abdd3fbf00bae9abdfee8b92265aa (diff) |
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: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx/vmx.c')
0 files changed, 0 insertions, 0 deletions