Re: [PATCH v11 44/45] virt: sevguest: Add support to get extended report

Brijesh Singh
2022-03-04T16:04:07Z

On 3/4/22 9:53 AM, Borislav Petkov wrote:
> On Fri, Mar 04, 2022 at 09:39:16AM -0600, Brijesh Singh wrote:
>> Depending on which ioctl user want to use for querying the attestation
>> report, she need to look at the SNP/GHCB specification for more details.
>> The blob contains header that application need to parse to get to the
>> actual certificate. The header is defined in the spec. From kernel
>> driver point-of-view, all these are opaque data.
> ... and the ioctl text needs to point to the spec so that the user knows
> where to find everything needed. Or how do you expect people to know how
> to use those ioctls?

I did added a text in Documentation/virt/coco/sevguest.rst (section 2.3)
that user need to look the GHCB spec for further detail.