xemu/linux-headers
Brijesh Singh 3ea1a80243 target/i386/sev: add support to query the attestation report
The SEV FW >= 0.23 added a new command that can be used to query the
attestation report containing the SHA-256 digest of the guest memory
and VMSA encrypted with the LAUNCH_UPDATE and sign it with the PEK.

Note, we already have a command (LAUNCH_MEASURE) that can be used to
query the SHA-256 digest of the guest memory encrypted through the
LAUNCH_UPDATE. The main difference between previous and this command
is that the report is signed with the PEK and unlike the LAUNCH_MEASURE
command the ATTESATION_REPORT command can be called while the guest
is running.

Add a QMP interface "query-sev-attestation-report" that can be used
to get the report encoded in base64.

Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Tom Lendacky <Thomas.Lendacky@amd.com>
Cc: Eric Blake <eblake@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org
Reviewed-by: James Bottomley <jejb@linux.ibm.com>
Tested-by: James Bottomley <jejb@linux.ibm.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Reviewed-by: Connor Kuehl <ckuehl@redhat.com>
Message-Id: <20210429170728.24322-1-brijesh.singh@amd.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2021-06-01 09:32:23 -04:00
..
asm-arm linux-headers: update again to 5.8 2020-07-10 19:26:55 -04:00
asm-arm64 Update linux headers to 5.11-rc2 2021-01-21 11:19:45 +01:00
asm-generic Update linux headers to 5.11-rc2 2021-01-21 11:19:45 +01:00
asm-mips Update linux headers to 5.11-rc2 2021-01-21 11:19:45 +01:00
asm-powerpc Update linux headers to 5.11-rc2 2021-01-21 11:19:45 +01:00
asm-s390 Update linux headers to 5.11-rc2 2021-01-21 11:19:45 +01:00
asm-x86 Update linux headers to 5.11-rc2 2021-01-21 11:19:45 +01:00
LICENSES linux-headers: Update to kernel mainline commit b357bf602 2018-06-22 13:28:35 +01:00
linux target/i386/sev: add support to query the attestation report 2021-06-01 09:32:23 -04:00
COPYING linux-headers: update against Linux 5.7-rc3 2020-04-28 12:29:01 +02:00
README

Automatically imported Linux kernel headers.
Only use scripts/update-linux-headers.sh to update!