aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorLike Xu <[email protected]>2019-10-27 18:52:41 +0800
committerPaolo Bonzini <[email protected]>2019-11-15 11:44:09 +0100
commitc900c156c518302058a48d2efe3ca44e465cad22 (patch)
tree072b174107fd75e4558d7967e42e78f9de497e6b /lib/mpi/mpi-cmp.c
parent98ff80f5b788c1818464022cc61924ef5630d99d (diff)
KVM: x86/vPMU: Introduce a new kvm_pmu_ops->msr_idx_to_pmc callback
Introduce a new callback msr_idx_to_pmc that returns a struct kvm_pmc*, and change kvm_pmu_is_valid_msr to return ".msr_idx_to_pmc(vcpu, msr) || .is_valid_msr(vcpu, msr)" and AMD just returns false from .is_valid_msr. Suggested-by: Paolo Bonzini <[email protected]> Reported-by: kbuild test robot <[email protected]> Signed-off-by: Like Xu <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions