diff options
author | Gleb Natapov <gleb@redhat.com> | 2011-11-10 07:57:22 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-27 04:24:29 -0500 |
commit | f5132b01386b5a67f1ff673bb2b96a507a3f7e41 (patch) | |
tree | 1891d74d54aadda63c0fc6ce77a62025404f4757 /arch/x86/kvm/Kconfig | |
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>
Diffstat (limited to 'arch/x86/kvm/Kconfig')
-rw-r--r-- | arch/x86/kvm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index ca4d49ed9a6c..1a7fe868f375 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig | |||
@@ -35,6 +35,7 @@ config KVM | |||
35 | select KVM_MMIO | 35 | select KVM_MMIO |
36 | select TASKSTATS | 36 | select TASKSTATS |
37 | select TASK_DELAY_ACCT | 37 | select TASK_DELAY_ACCT |
38 | select PERF_EVENTS | ||
38 | ---help--- | 39 | ---help--- |
39 | Support hosting fully virtualized guest machines using hardware | 40 | Support hosting fully virtualized guest machines using hardware |
40 | virtualization extensions. You will need a fairly recent | 41 | virtualization extensions. You will need a fairly recent |