]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: Make KVM_INTEL depend on CPU_SUP_INTEL
authorAvi Kivity <avi@redhat.com>
Wed, 14 Dec 2011 10:27:47 +0000 (12:27 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 27 Dec 2011 09:22:27 +0000 (11:22 +0200)
commit43771ebfc9d34ab1f74095d052d225a82ae0898c
treed1d9668f0ab800b67270d9d45765a7c7aa00b5f5
parent9e31905f293ae84e4f120ed9e414031eaefa0bdf
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>
arch/x86/kvm/Kconfig