KVM
Public Attributes | List of all members
kvm_pmu_ops Struct Reference

#include <pmu.h>

Public Attributes

bool(* hw_event_available )(struct kvm_pmc *pmc)
 
struct kvm_pmc *(* pmc_idx_to_pmc )(struct kvm_pmu *pmu, int pmc_idx)
 
struct kvm_pmc *(* rdpmc_ecx_to_pmc )(struct kvm_vcpu *vcpu, unsigned int idx, u64 *mask)
 
struct kvm_pmc *(* msr_idx_to_pmc )(struct kvm_vcpu *vcpu, u32 msr)
 
bool(* is_valid_rdpmc_ecx )(struct kvm_vcpu *vcpu, unsigned int idx)
 
bool(* is_valid_msr )(struct kvm_vcpu *vcpu, u32 msr)
 
int(* get_msr )(struct kvm_vcpu *vcpu, struct msr_data *msr_info)
 
int(* set_msr )(struct kvm_vcpu *vcpu, struct msr_data *msr_info)
 
void(* refresh )(struct kvm_vcpu *vcpu)
 
void(* init )(struct kvm_vcpu *vcpu)
 
void(* reset )(struct kvm_vcpu *vcpu)
 
void(* deliver_pmi )(struct kvm_vcpu *vcpu)
 
void(* cleanup )(struct kvm_vcpu *vcpu)
 
const u64 EVENTSEL_EVENT
 
const int MAX_NR_GP_COUNTERS
 
const int MIN_NR_GP_COUNTERS
 

Detailed Description

Definition at line 21 of file pmu.h.

Member Data Documentation

◆ cleanup

void(* kvm_pmu_ops::cleanup) (struct kvm_vcpu *vcpu)

Definition at line 35 of file pmu.h.

◆ deliver_pmi

void(* kvm_pmu_ops::deliver_pmi) (struct kvm_vcpu *vcpu)

Definition at line 34 of file pmu.h.

◆ EVENTSEL_EVENT

const u64 kvm_pmu_ops::EVENTSEL_EVENT

Definition at line 37 of file pmu.h.

◆ get_msr

int(* kvm_pmu_ops::get_msr) (struct kvm_vcpu *vcpu, struct msr_data *msr_info)

Definition at line 29 of file pmu.h.

◆ hw_event_available

bool(* kvm_pmu_ops::hw_event_available) (struct kvm_pmc *pmc)

Definition at line 22 of file pmu.h.

◆ init

void(* kvm_pmu_ops::init) (struct kvm_vcpu *vcpu)

Definition at line 32 of file pmu.h.

◆ is_valid_msr

bool(* kvm_pmu_ops::is_valid_msr) (struct kvm_vcpu *vcpu, u32 msr)

Definition at line 28 of file pmu.h.

◆ is_valid_rdpmc_ecx

bool(* kvm_pmu_ops::is_valid_rdpmc_ecx) (struct kvm_vcpu *vcpu, unsigned int idx)

Definition at line 27 of file pmu.h.

◆ MAX_NR_GP_COUNTERS

const int kvm_pmu_ops::MAX_NR_GP_COUNTERS

Definition at line 38 of file pmu.h.

◆ MIN_NR_GP_COUNTERS

const int kvm_pmu_ops::MIN_NR_GP_COUNTERS

Definition at line 39 of file pmu.h.

◆ msr_idx_to_pmc

struct kvm_pmc*(* kvm_pmu_ops::msr_idx_to_pmc) (struct kvm_vcpu *vcpu, u32 msr)

Definition at line 22 of file pmu.h.

◆ pmc_idx_to_pmc

struct kvm_pmc*(* kvm_pmu_ops::pmc_idx_to_pmc) (struct kvm_pmu *pmu, int pmc_idx)

Definition at line 22 of file pmu.h.

◆ rdpmc_ecx_to_pmc

struct kvm_pmc*(* kvm_pmu_ops::rdpmc_ecx_to_pmc) (struct kvm_vcpu *vcpu, unsigned int idx, u64 *mask)

Definition at line 22 of file pmu.h.

◆ refresh

void(* kvm_pmu_ops::refresh) (struct kvm_vcpu *vcpu)

Definition at line 31 of file pmu.h.

◆ reset

void(* kvm_pmu_ops::reset) (struct kvm_vcpu *vcpu)

Definition at line 33 of file pmu.h.

◆ set_msr

int(* kvm_pmu_ops::set_msr) (struct kvm_vcpu *vcpu, struct msr_data *msr_info)

Definition at line 30 of file pmu.h.


The documentation for this struct was generated from the following file: