Re: [PATCH] x86/sev: Make SEV_STATUS available via SYSFS

From: Borislav Petkov
Date: Mon Mar 10 2025 - 11:42:25 EST


On Mon, Mar 10, 2025 at 04:33:08PM +0100, Jürgen Groß wrote:
> Kind of.
>
> /sys/hypervisor is meant to provide data for running under a hypervisor.
>
> It is NOT meant to provide data for running as a hypervisor.

Hah.

Which would mean that

/sys/hypervisor == /sys/guest

the way we envision it.

Do we need to dump all the HV levels in it?

I think Joerg wants to dump the fact that there's an SVSM present. I guess we
can dump the "stack" of "things" running under Linux as you suggest it.

Hmmm.

--
Regards/Gruss,
Boris.

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