qemu-e2k/linux-headers/linux
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
..
kvm.h target/i386/sev: add support to query the attestation report 2021-06-01 09:32:23 -04:00
mman.h linux-headers: update against 5.10-rc1 2020-11-01 12:30:51 -07:00
psci.h linux headers: update against Linux 5.2-rc1 2019-05-21 16:58:56 +02:00
psp-sev.h Linux headers: update 2020-06-18 12:13:36 +02:00
userfaultfd.h Update linux headers to 5.11-rc2 2021-01-21 11:19:45 +01:00
vfio.h Update linux headers to 5.11-rc2 2021-01-21 11:19:45 +01:00
vfio_ccw.h Linux headers: update 2020-06-18 12:13:36 +02:00
vfio_zdev.h linux-headers: update against 5.10-rc1 2020-11-01 12:30:51 -07:00
vhost.h Update linux headers to 5.11-rc2 2021-01-21 11:19:45 +01:00
vhost_types.h include: update Linux headers to 4.21-rc1/5.0-rc1 2019-02-04 00:08:58 -05:00
virtio_config.h linux-headers: use standard-headers 2015-02-26 13:04:05 +01:00
virtio_ring.h linux-headers: use standard-headers 2015-02-26 13:04:05 +01:00