KVM: x86/vPMU: introduce kvm_pmu_msr_idx_to_pmc
authorWei Huang <wehuang@redhat.com>
Fri, 19 Jun 2015 14:16:59 +0000 (16:16 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 Jun 2015 12:12:11 +0000 (14:12 +0200)
commit41aac14a8dee66a720894e5979c2372c0d5afd34
treea62e5a91c7c14dfa1af95d8f7c733ae7c34c5b80
parente5af058aacd55e578b3c57b1582b90c4290b77f9
KVM: x86/vPMU: introduce kvm_pmu_msr_idx_to_pmc

This function will be part of the kvm_pmu_ops interface.  Introduce
it already.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/pmu.c