diff options
author | Wei Huang <wehuang@redhat.com> | 2015-06-19 13:54:23 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-06-19 17:16:29 +0200 |
commit | 474a5bb944d2ad308a1360dcae72b16b8eecd250 (patch) | |
tree | 5da7334c0f015f03f519ba47b26ffc4ac0208a5a /arch/x86/include | |
parent | c6702c9dcfe72b63a85e7ae35533c11e2b7c1040 (diff) | |
download | linux-474a5bb944d2ad308a1360dcae72b16b8eecd250.tar.gz linux-474a5bb944d2ad308a1360dcae72b16b8eecd250.tar.bz2 linux-474a5bb944d2ad308a1360dcae72b16b8eecd250.zip |
KVM: x86/vPMU: introduce pmu.h header
This will be used for private function used by AMD- and Intel-specific
PMU implementations.
Signed-off-by: Wei Huang <wei@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index d92d7edc016b..534dfa324e35 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -1195,18 +1195,6 @@ void kvm_complete_insn_gp(struct kvm_vcpu *vcpu, int err); int kvm_is_in_guest(void); -void kvm_pmu_init(struct kvm_vcpu *vcpu); -void kvm_pmu_destroy(struct kvm_vcpu *vcpu); -void kvm_pmu_reset(struct kvm_vcpu *vcpu); -void kvm_pmu_refresh(struct kvm_vcpu *vcpu); -bool kvm_pmu_is_valid_msr(struct kvm_vcpu *vcpu, u32 msr); -int kvm_pmu_get_msr(struct kvm_vcpu *vcpu, u32 msr, u64 *data); -int kvm_pmu_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr_info); -int kvm_pmu_is_valid_msr_idx(struct kvm_vcpu *vcpu, unsigned pmc); -int kvm_pmu_rdpmc(struct kvm_vcpu *vcpu, unsigned pmc, u64 *data); -void kvm_pmu_handle_event(struct kvm_vcpu *vcpu); -void kvm_pmu_deliver_pmi(struct kvm_vcpu *vcpu); - int __x86_set_memory_region(struct kvm *kvm, const struct kvm_userspace_memory_region *mem); int x86_set_memory_region(struct kvm *kvm, |