Re: [PATCH] x86/sev: Make SEV_STATUS available via SYSFS
From: Tom Lendacky
Date: Mon Mar 10 2025 - 10:40:18 EST
On 3/10/25 08:38, Borislav Petkov wrote:
> On Mon, Mar 10, 2025 at 01:49:46PM +0100, Juergen Gross wrote:
>> 1. Only name the hypervisor nearest to the guest (similar to running Xen on
>> top of another hypervisor in nested virtualization, which would still
>> say "xen").
>>
>> 2. Add another entry for naming the outer hypervisor(s) (if possible).
>>
>> 3. Name all known hypervisor levels, like "kvm,svsm" or "svsm,kvm").
>
> /sys/guest it is then.
>
> Let's just keep /sys/hypervisor alone and as Joerg said, we can link to it
> from /sys/guest.
>
> I guess that sounds ok...
And we should link the VMPL setting currently under
/sys/devices/system/cpu/sev/
Thanks,
Tom
>
> Thx.
>