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

From: Borislav Petkov
Date: Wed Mar 05 2025 - 06:53:42 EST


On Wed, Mar 05, 2025 at 12:48:11PM +0100, Jürgen Groß wrote:
> And?
>
> Under Xen there is e.g. /sys/hypervisor/guest_type which shows in which
> mode the guest is running ("PV" or "HVM").

And looking for guest features in /sys/hypervisor - especially for
confidential guests which do not trust the hypervisor - is ironic and wrong to
say the least. :)

/sys/guest

or

sys/guest/coco

Now that's more like it.

--
Regards/Gruss,
Boris.

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