]> Git Repo - linux.git/commitdiff
KVM: x86: prefer "depends on" to "select" for SEV
authorPaolo Bonzini <[email protected]>
Thu, 11 Jan 2018 12:10:38 +0000 (13:10 +0100)
committerRadim Krčmář <[email protected]>
Tue, 16 Jan 2018 15:38:32 +0000 (16:38 +0100)
Avoid reverse dependencies.  Instead, SEV will only be enabled if
the PSP driver is available.

Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Radim Krčmář <[email protected]>
arch/x86/kvm/Kconfig

index 148ea324b90c4055df8ed6167ec52a41d22c961a..92fd433c50b9b5135e4ada92dc8968f4c5ed75d4 100644 (file)
@@ -85,9 +85,7 @@ config KVM_AMD_SEV
        def_bool y
        bool "AMD Secure Encrypted Virtualization (SEV) support"
        depends on KVM_AMD && X86_64
-       select CRYPTO_DEV_CCP
-       select CRYPTO_DEV_CCP_DD
-       select CRYPTO_DEV_SP_PSP
+       depends on CRYPTO_DEV_CCP && CRYPTO_DEV_CCP_DD && CRYPTO_DEV_SP_PSP
        ---help---
        Provides support for launching Encrypted VMs on AMD processors.
 
This page took 0.049516 seconds and 4 git commands to generate.