KVM: don't pointlessly leave KVM_COMPAT=y in non-KVM configs
authorJan Beulich <JBeulich@suse.com>
Mon, 19 Oct 2015 10:37:18 +0000 (04:37 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 4 Nov 2015 15:24:30 +0000 (16:24 +0100)
The symbol was missing a KVM dependency.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/Kconfig

index 9f8014dda2cf4e7760d09d4745bde79b0ad9d28b..7a79b68535836d51796fb424d4ba95c15eed96ad 100644 (file)
@@ -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