summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/Kconfig
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2011-11-10 14:57:22 +0200
committerAvi Kivity <avi@redhat.com>2011-12-27 11:24:29 +0200
commitf5132b01386b5a67f1ff673bb2b96a507a3f7e41 (patch)
tree1891d74d54aadda63c0fc6ce77a62025404f4757 /arch/x86/kvm/Kconfig
parent893420822192f717af6fde927c9e78c9b82f8327 (diff)
downloadop-kernel-dev-f5132b01386b5a67f1ff673bb2b96a507a3f7e41.zip
op-kernel-dev-f5132b01386b5a67f1ff673bb2b96a507a3f7e41.tar.gz
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/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
index ca4d49e..1a7fe86 100644
--- a/arch/x86/kvm/Kconfig
+++ b/arch/x86/kvm/Kconfig
@@ -35,6 +35,7 @@ config KVM
select KVM_MMIO
select TASKSTATS
select TASK_DELAY_ACCT
+ select PERF_EVENTS
---help---
Support hosting fully virtualized guest machines using hardware
virtualization extensions. You will need a fairly recent
OpenPOWER on IntegriCloud