Re: [PATCH v3] x86/sev: Add SEV-SNP guest feature negotiation support

From: Borislav Petkov
Date: Tue Jan 03 2023 - 06:29:48 EST


On Tue, Jan 03, 2023 at 09:07:14AM +0530, Nikunj A. Dadhania wrote:
> Currently, GHCBData[24:63] is unused. If we intend to use the bit range(40bits), GHCB spec
> will need to be updated. And probably would not be enough.

My fear too...

> As the termination request is done using GHCB MSR protocol, exit codes cannot be used.

We need to figure out some other way of communicating to the guest owner because
of which feature the guest refused booting.

--
Regards/Gruss,
Boris.

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