Re: [PATCH v2 03/12] x86/sev: Add an x86 version of prot_guest_has()

From: Borislav Petkov
Date: Sun Aug 15 2021 - 10:38:43 EST


On Sun, Aug 15, 2021 at 08:53:31AM -0500, Tom Lendacky wrote:
> It's not a cross-vendor thing as opposed to a KVM or other hypervisor
> thing where the family doesn't have to be reported as AMD or HYGON.

What would be the use case? A HV starts a guest which is supposed to be
encrypted using the AMD's confidential guest technology but the HV tells
the guest that it is not running on an AMD SVM HV but something else?

Is that even an actual use case?

Or am I way off?

I know we have talked about this in the past but this still sounds
insane.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette