diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index d2dc734f5bd0d820953faa274736a4becd4c9999..f1e86051aa5f369fc2db990bb7c6fffdfaad98ca 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; }