From: Jan Beulich Date: Mon, 19 Oct 2015 10:37:18 +0000 (-0600) Subject: KVM: don't pointlessly leave KVM_COMPAT=y in non-KVM configs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6956d8946d5d1cb2ac913caa8d4259a4d0e00c48;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git KVM: don't pointlessly leave KVM_COMPAT=y in non-KVM configs The symbol was missing a KVM dependency. Signed-off-by: Jan Beulich Signed-off-by: Paolo Bonzini --- 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