summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorMichael Roth <michael.roth@amd.com>2024-05-01 03:51:53 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2024-05-12 04:09:28 -0400
commita8e31983335554193c2cb373161d08880230abfd (patch)
tree16ddd78fa7f075a557d571d451736c3676532bf7 /arch/x86
parentb74d002d3d587c38d01853580fd257db30edd1d0 (diff)
downloadlinux-stable-a8e31983335554193c2cb373161d08880230abfd.tar.gz
linux-stable-a8e31983335554193c2cb373161d08880230abfd.tar.bz2
linux-stable-a8e31983335554193c2cb373161d08880230abfd.zip
KVM: SEV: Select KVM_GENERIC_PRIVATE_MEM when CONFIG_KVM_AMD_SEV=y
SEV-SNP relies on private memory support to run guests, so make sure to enable that support via the CONFIG_KVM_GENERIC_PRIVATE_MEM config option. Signed-off-by: Michael Roth <michael.roth@amd.com> Message-ID: <20240501085210.2213060-4-michael.roth@amd.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kvm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
index d64fb2b3eb69..5e72faca4e8f 100644
--- a/arch/x86/kvm/Kconfig
+++ b/arch/x86/kvm/Kconfig
@@ -136,6 +136,7 @@ config KVM_AMD_SEV
depends on KVM_AMD && X86_64
depends on CRYPTO_DEV_SP_PSP && !(KVM_AMD=y && CRYPTO_DEV_CCP_DD=m)
select ARCH_HAS_CC_PLATFORM
+ select KVM_GENERIC_PRIVATE_MEM
help
Provides support for launching Encrypted VMs (SEV) and Encrypted VMs
with Encrypted State (SEV-ES) on AMD processors.