Commit 505c9e94 authored by Paolo Bonzini's avatar Paolo Bonzini Committed by Radim Krčmář

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
parent 65e38583
...@@ -85,9 +85,7 @@ config KVM_AMD_SEV ...@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment