From: Brijesh Singh Date: Mon, 4 Dec 2017 16:57:32 +0000 (-0600) Subject: KVM: X86: Add CONFIG_KVM_AMD_SEV X-Git-Tag: v4.16-rc1~10^2~38^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5dd0a57cf38eeb8b6be1d9c3df9add2f5756d974;p=thirdparty%2Flinux.git KVM: X86: Add CONFIG_KVM_AMD_SEV The config option can be used to enable SEV support on AMD Processors. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzini Cc: "Radim Krčmář" Cc: Joerg Roedel Cc: Borislav Petkov Cc: Tom Lendacky Cc: x86@kernel.org Cc: kvm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Brijesh Singh Reviewed-by: Borislav Petkov --- diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index 3df51c2878442..148ea324b90c4 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig @@ -81,6 +81,16 @@ config KVM_AMD To compile this as a module, choose M here: the module will be called kvm-amd. +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 + ---help--- + Provides support for launching Encrypted VMs on AMD processors. + config KVM_MMU_AUDIT bool "Audit KVM MMU" depends on KVM && TRACEPOINTS