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

From: Juergen Gross
Date: Tue Mar 11 2025 - 07:14:35 EST


On 11.03.25 12:07, Borislav Petkov wrote:
On Tue, Mar 11, 2025 at 11:22:23AM +0100, Jürgen Groß wrote:
I can live with that, as long as we make it possible to make e.g.
/sys/guest/xen a link to /sys/hypervisor (if xen is the hypervisor
the guest is directly running on). This means that /sys/guest/*/type
should not conflict with /sys/hypervisor/type.

Yeah, so Joerg and I came up with this on IRC:

/sys/hypervisor/{sev,tdx}

* It should not disturb the current hierarchy there

* No need for a new hierarchy like /sys/guest - we haz enough and besides,
/sys/hypervisor sounds like the right place already

* ...

So yeah, I guess we can try this.

Full ack for this plan.


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature