summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/pmu.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* KVM: Expose a version 2 architectural PMU to a guestsGleb Natapov2011-12-271-0/+533
Use perf_events to emulate an architectural PMU, version 2. Based on PMU version 1 emulation by Avi Kivity. [avi: adjust for cpuid.c] [jan: fix anonymous field initialization for older gcc] Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>