[svsm-devel] [PATCH v4 09/15] x86/sev: Provide guest VMPL level to userspace
Borislav Petkov
bp at alien8.de
Thu May 30 19:06:12 CEST 2024
On May 28, 2024 11:08:35 PM GMT+02:00, Tom Lendacky <thomas.lendacky at amd.com> wrote:
>I can move it there. Or what about creating a coco folder under /sys/kernel/? This would then create /sys/kernel/coco/sev/?
>
Sysfs hierarchy is special - can't just add stuff willy nilly. This doc hints at that:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/filesystems/sysfs.rst
And then those things get documented here:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/ABI
and supported forever and ever until the end of time.
So the usage needs to be precisely documented and weighed whether we really need it...
Thx.
--
Sent from a small device: formatting sucks and brevity is inevitable.
More information about the Svsm-devel
mailing list