diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index d2dc734f5bd0..f1e86051aa5f 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c @@ -892,6 +892,11 @@ static int has_svm(void) return 0; } + if (sev_active()) { + pr_info("KVM is unsupported when running as an SEV guest\n"); + return 0; + } + return 1; }