diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-01-11 15:10:38 +0300 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2018-01-16 18:38:32 +0300 |
commit | 505c9e94d8329dc215617cf99505629e924f001e (patch) | |
tree | bd224dc3c16298cb3a4d990b8d1a269fac7cfd2a /arch/x86/kvm/Kconfig | |
parent | 65e38583c3bbbba78a081c808e2d58a8454a821e (diff) | |
download | linux-505c9e94d8329dc215617cf99505629e924f001e.tar.xz |
KVM: x86: prefer "depends on" to "select" for SEV
Avoid reverse dependencies. Instead, SEV will only be enabled if
the PSP driver is available.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86/kvm/Kconfig')
-rw-r--r-- | arch/x86/kvm/Kconfig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index 148ea324b90c..92fd433c50b9 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig @@ -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. |