Re: [PATCH 2/2] x86/sev: Make SEV_STATUS available via SYSFS
From: Dave Hansen
Date: Wed Mar 12 2025 - 10:57:40 EST
On 3/12/25 07:41, Joerg Roedel wrote:
> +static ssize_t sev_status_show(struct kobject *kobj,
> + struct kobj_attribute *attr, char *buf)
> +{
> + return sysfs_emit(buf, "%llx\n", sev_status);
> +}
Do we really want to just plumb the raw MSR out to userspace? Users
would still need to parse the thing, so it's not _really_ human readable.