diff options
author | Wei Huang <wehuang@redhat.com> | 2015-06-19 13:44:45 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-06-19 17:16:29 +0200 |
commit | c6702c9dcfe72b63a85e7ae35533c11e2b7c1040 (patch) | |
tree | a11a8f2efa90f08fd295c99a3830747096580d5e /arch/x86/include | |
parent | KVM: MTRR: do not map huge page for non-consistent range (diff) | |
download | linux-c6702c9dcfe72b63a85e7ae35533c11e2b7c1040.tar.xz linux-c6702c9dcfe72b63a85e7ae35533c11e2b7c1040.zip |
KVM: x86/vPMU: rename a few PMU functions
Before introducing a pmu.h header for them, make the naming more
consistent.
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, 6 insertions, 6 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index f2d60cce7595..d92d7edc016b 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -1198,14 +1198,14 @@ 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_cpuid_update(struct kvm_vcpu *vcpu); -bool kvm_pmu_msr(struct kvm_vcpu *vcpu, u32 msr); +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_check_pmc(struct kvm_vcpu *vcpu, unsigned pmc); -int kvm_pmu_read_pmc(struct kvm_vcpu *vcpu, unsigned pmc, u64 *data); -void kvm_handle_pmu_event(struct kvm_vcpu *vcpu); -void kvm_deliver_pmi(struct kvm_vcpu *vcpu); +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); |