commit | f5132b01386b5a67f1ff673bb2b96a507a3f7e41 | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Thu Nov 10 14:57:22 2011 +0200 |
committer | Avi Kivity <avi@redhat.com> | Tue Dec 27 11:24:29 2011 +0200 |
tree | 1891d74d54aadda63c0fc6ce77a62025404f4757 | |
parent | 893420822192f717af6fde927c9e78c9b82f8327 [diff] |
KVM: Expose a version 2 architectural PMU to a guests 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>