summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2015-10-19 04:37:18 -0600
committerPaolo Bonzini <pbonzini@redhat.com>2015-11-04 16:24:30 +0100
commit6956d8946d5d1cb2ac913caa8d4259a4d0e00c48 (patch)
treea4988f3fb65076c6d8f3cc1440d4a2eb8296e536 /virt
parent197a4f4b063e4e7a603ff1de56b3cf0400fabc30 (diff)
downloadop-kernel-dev-6956d8946d5d1cb2ac913caa8d4259a4d0e00c48.zip
op-kernel-dev-6956d8946d5d1cb2ac913caa8d4259a4d0e00c48.tar.gz
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 9f8014d..7a79b68 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
OpenPOWER on IntegriCloud