From: Thomas Courrege <thomas.courrege@thorondor.fr>
To: Thomas Courrege <thomas.courrege@thorondor.fr>,
ashish.kalra@amd.com, corbet@lwn.net,
herbert@gondor.apana.org.au, john.allen@amd.com, nikunj@amd.com,
pbonzini@redhat.com, seanjc@google.com, thomas.lendacky@amd.com
Cc: kvm@vger.kernel.org, linux-crypto@vger.kernel.org,
linux-kernel@vger.kernel.org, x86@kernel.org
Subject: Re: [PATCH v7 0/1] KVM: SEV: Add KVM_SEV_SNP_HV_REPORT_REQ command
Date: Mon, 9 Mar 2026 15:36:24 +0100 [thread overview]
Message-ID: <aa49739b-0432-4d20-afbe-c63dd7c5608a@thorondor.fr> (raw)
In-Reply-To: <20260302143626.289792-1-thomas.courrege@thorondor.fr>
On 02-03-2026 15:36, Thomas Courrege wrote:
> Overview
> ========
> The SEV-SNP Firmware ABI allows the hypervisor to request an
> attestation report via the SEV_CMD_SNP_HV_REPORT_REQ firmware command.
>
> This allow KVM to expose more of AMD’s SEV‑SNP features.
>
> It also allow developers to easily request attestation.
> It could maybe be use by some cloud provider to easily provide an
> attestation report through their API, in case the Guest doesn't respond
> fast enough or even to compare the reports.
>
> Testing
> =======
> For testing this via QEMU, please use the following tree:
> https://github.com/Th0rOnDoR/qemu
>
> Patch History
> =============
> v6 -> v7:
> Rebase after 7.0 merge window
>
> v5 -> v6:
> Fix typos issues in documentation
>
> v4 -> v5:
> Set variables in reverse christmas tree order
> Fix and clean the rsp_size logic
>
> v3 -> v4:
> Add newline in documentation to avoid a warning
> Add base commit
>
> v2 -> v3:
> Add padding to structure, code format
> Write back the full MSG_REPORT_RSP structure
> Remove the memzero_explicit for the report
>
> v1 -> v2:
> Renaming, code format
> Zeroes the report before returning
>
>
> Any feedback is appreciated.
>
> Thanks,
> Thomas
>
> Thomas Courrege (1):
> KVM: SEV: Add KVM_SEV_SNP_HV_REPORT_REQ command
>
> .../virt/kvm/x86/amd-memory-encryption.rst | 27 ++++++++
> arch/x86/include/uapi/asm/kvm.h | 9 +++
> arch/x86/kvm/svm/sev.c | 63 +++++++++++++++++++
> drivers/crypto/ccp/sev-dev.c | 1 +
> include/linux/psp-sev.h | 31 +++++++++
> 5 files changed, 131 insertions(+)
>
>
> base-commit: 55365ab85a93edec22395547cdc7cbe73a98231b
Gentle ping.
Thanks,
Thomas
prev parent reply other threads:[~2026-03-09 14:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-02 14:36 Thomas Courrege
2026-03-02 14:36 ` [PATCH v7 1/1] " Thomas Courrege
2026-03-02 15:08 ` Tom Lendacky
2026-03-03 7:49 ` Thomas Courrege
2026-03-09 14:36 ` Thomas Courrege [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aa49739b-0432-4d20-afbe-c63dd7c5608a@thorondor.fr \
--to=thomas.courrege@thorondor.fr \
--cc=ashish.kalra@amd.com \
--cc=corbet@lwn.net \
--cc=herbert@gondor.apana.org.au \
--cc=john.allen@amd.com \
--cc=kvm@vger.kernel.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nikunj@amd.com \
--cc=pbonzini@redhat.com \
--cc=seanjc@google.com \
--cc=thomas.lendacky@amd.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®