aboutsummaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorJan Beulich2015-10-19 04:37:18 -0600
committerPaolo Bonzini2015-11-04 16:24:30 +0100
commit6956d8946d5d1cb2ac913caa8d4259a4d0e00c48 (patch)
treea4988f3fb65076c6d8f3cc1440d4a2eb8296e536 /virt
parent197a4f4b063e4e7a603ff1de56b3cf0400fabc30 (diff)
KVM: don't pointlessly leave KVM_COMPAT=y in non-KVM configs
The symbol was missing a KVM dependency. Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
-rw-r--r--virt/kvm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/Kconfig b/virt/kvm/Kconfig
index 9f8014dda2cf..7a79b6853583 100644
--- a/virt/kvm/Kconfig
+++ b/virt/kvm/Kconfig
@@ -46,7 +46,7 @@ config KVM_GENERIC_DIRTYLOG_READ_PROTECT
config KVM_COMPAT
def_bool y
- depends on COMPAT && !S390
+ depends on KVM && COMPAT && !S390
config HAVE_KVM_IRQ_BYPASS
bool