diff options
author | Avi Kivity <avi@redhat.com> | 2011-12-14 05:27:47 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-27 04:22:27 -0500 |
commit | 43771ebfc9d34ab1f74095d052d225a82ae0898c (patch) | |
tree | d1d9668f0ab800b67270d9d45765a7c7aa00b5f5 /arch/x86/kvm/Kconfig | |
parent | 9e31905f293ae84e4f120ed9e414031eaefa0bdf (diff) |
KVM: Make KVM_INTEL depend on CPU_SUP_INTEL
PMU virtualization needs to talk to Intel-specific bits of perf; these are
only available when CPU_SUP_INTEL=y.
Fixes
arch/x86/built-in.o: In function `atomic_switch_perf_msrs':
vmx.c:(.text+0x6b1d4): undefined reference to `perf_guest_get_msrs'
Reported-by: Ingo Molnar <mingo@elte.hu>
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/Kconfig')
-rw-r--r-- | arch/x86/kvm/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index ff5790d8e990..ca4d49ed9a6c 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig | |||
@@ -52,6 +52,8 @@ config KVM | |||
52 | config KVM_INTEL | 52 | config KVM_INTEL |
53 | tristate "KVM for Intel processors support" | 53 | tristate "KVM for Intel processors support" |
54 | depends on KVM | 54 | depends on KVM |
55 | # for perf_guest_get_msrs(): | ||
56 | depends on CPU_SUP_INTEL | ||
55 | ---help--- | 57 | ---help--- |
56 | Provides support for KVM on Intel processors equipped with the VT | 58 | Provides support for KVM on Intel processors equipped with the VT |
57 | extensions. | 59 | extensions. |