Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kvm/
Dpmu.h26 struct kvm_pmu_ops { struct
27 unsigned (*find_arch_event)(struct kvm_pmu *pmu, u8 event_select,
29 unsigned (*find_fixed_event)(int idx);
30 bool (*pmc_is_enabled)(struct kvm_pmc *pmc);
31 struct kvm_pmc *(*pmc_idx_to_pmc)(struct kvm_pmu *pmu, int pmc_idx);
32 struct kvm_pmc *(*rdpmc_ecx_to_pmc)(struct kvm_vcpu *vcpu,
34 struct kvm_pmc *(*msr_idx_to_pmc)(struct kvm_vcpu *vcpu, u32 msr);
35 int (*is_valid_rdpmc_ecx)(struct kvm_vcpu *vcpu, unsigned int idx);
36 bool (*is_valid_msr)(struct kvm_vcpu *vcpu, u32 msr);
37 int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
[all …]