diff options
author | Brijesh Singh <brijesh.singh@amd.com> | 2022-03-08 00:33:55 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-04-07 17:47:12 +0300 |
commit | d80b494f712317493d464a55652698c4d1b7bb0f (patch) | |
tree | 72a1ef636877237cf66e86ea3f0bf38524b6d9e3 /net/xdp | |
parent | 68de0b2f938642079c0c853b219bdb88c4dc4d13 (diff) | |
download | linux-d80b494f712317493d464a55652698c4d1b7bb0f.tar.xz |
virt: sevguest: Add support to get extended report
Version 2 of GHCB specification defines Non-Automatic-Exit (NAE) to get
extended guest report which is similar to the SNP_GET_REPORT ioctl. The
main difference is related to the additional data that will be returned.
That additional data returned is a certificate blob that can be used by
the SNP guest user. The certificate blob layout is defined in the GHCB
specification. The driver simply treats the blob as a opaque data and
copies it to userspace.
[ bp: Massage commit message, cast 1st arg of access_ok() ]
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220307213356.2797205-46-brijesh.singh@amd.com
Diffstat (limited to 'net/xdp')
0 files changed, 0 insertions, 0 deletions