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>
This commit is contained in:
Paolo Bonzini 2018-01-11 13:10:38 +01:00 committed by Radim Krčmář
parent 65e38583c3
commit 505c9e94d8

View File

@ -85,9 +85,7 @@ config KVM_AMD_SEV
def_bool y def_bool y
bool "AMD Secure Encrypted Virtualization (SEV) support" bool "AMD Secure Encrypted Virtualization (SEV) support"
depends on KVM_AMD && X86_64 depends on KVM_AMD && X86_64
select CRYPTO_DEV_CCP depends on CRYPTO_DEV_CCP && CRYPTO_DEV_CCP_DD && CRYPTO_DEV_SP_PSP
select CRYPTO_DEV_CCP_DD
select CRYPTO_DEV_SP_PSP
---help--- ---help---
Provides support for launching Encrypted VMs on AMD processors. Provides support for launching Encrypted VMs on AMD processors.