]> git.baikalelectronics.ru Git - kernel.git/commit
x86/kvm: hide KVM options from menuconfig when KVM is not compiled
authorMatteo Croce <mcroce@microsoft.com>
Thu, 1 Oct 2020 11:20:14 +0000 (13:20 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 21 Oct 2020 21:36:30 +0000 (17:36 -0400)
commit0ecc88249bc2d0e95fe030a3952d92ea8ef29b88
tree52d9bf3f1f2984d23cf42419e0f183b505392a69
parenta0b9e6225597620178b78ca81ce7260c3596d7c1
x86/kvm: hide KVM options from menuconfig when KVM is not compiled

Let KVM_WERROR depend on KVM, so it doesn't show in menuconfig alone.

Signed-off-by: Matteo Croce <mcroce@microsoft.com>
Message-Id: <20201001112014.9561-1-mcroce@linux.microsoft.com>
Fixes: d81ed95091456 ("KVM: allow disabling -Werror")
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/Kconfig