Home
last modified time | relevance | path

Searched defs:kvm_pmu_ops (Results 1 – 1 of 1) sorted by relevance

/arch/x86/kvm/
Dpmu.h22 struct kvm_pmu_ops { struct
23 unsigned (*find_arch_event)(struct kvm_pmu *pmu, u8 event_select,
25 unsigned (*find_fixed_event)(int idx);
26 bool (*pmc_is_enabled)(struct kvm_pmc *pmc);
27 struct kvm_pmc *(*pmc_idx_to_pmc)(struct kvm_pmu *pmu, int pmc_idx);
28 struct kvm_pmc *(*msr_idx_to_pmc)(struct kvm_vcpu *vcpu, unsigned idx,
30 int (*is_valid_msr_idx)(struct kvm_vcpu *vcpu, unsigned idx);
31 bool (*is_valid_msr)(struct kvm_vcpu *vcpu, u32 msr);
32 int (*get_msr)(struct kvm_vcpu *vcpu, u32 msr, u64 *data);
33 int (*set_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
[all …]