Re: [PATCH] x86/sev: Make SEV_STATUS available via SYSFS
From: Joerg Roedel
Date: Mon Mar 10 2025 - 08:35:17 EST
On Mon, Mar 10, 2025 at 01:28:38PM +0100, Juergen Gross wrote:
> We can (saying that with my Xen maintainer hat on).
>
> There is /sys/hypervisor/type which should return the used virtualization
> environment ("xen" when running as a Xen guest).
In CoCo environments there can be more than one hypervisor beneath the
guest. For example KVM as the untrusted host, SVSM or another para-visor
as the trusted in-guest hypervisor. On TDX there is also the TDX module
in-between, which is another level of hypervisors. ARM and Risc-V will
have similar architectures.
Regards,
Joerg