[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d0363471-e175-4d58-a6af-9c38f51d31b4@oracle.com>
Date: Sat, 22 Jun 2024 00:13:04 +0000
From: Liam Merwick <liam.merwick@...cle.com>
To: Michael Roth <michael.roth@....com>,
"kvm@...r.kernel.org"
<kvm@...r.kernel.org>
CC: "linux-coco@...ts.linux.dev" <linux-coco@...ts.linux.dev>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"x86@...nel.org" <x86@...nel.org>,
"pbonzini@...hat.com"
<pbonzini@...hat.com>,
"seanjc@...gle.com" <seanjc@...gle.com>,
"jroedel@...e.de" <jroedel@...e.de>,
"thomas.lendacky@....com"
<thomas.lendacky@....com>,
"pgonda@...gle.com" <pgonda@...gle.com>,
"ashish.kalra@....com" <ashish.kalra@....com>,
"bp@...en8.de" <bp@...en8.de>,
"pankaj.gupta@....com" <pankaj.gupta@....com>,
Brijesh Singh
<brijesh.singh@....com>,
Alexey Kardashevskiy <aik@....com>,
Liam Merwick
<liam.merwick@...cle.com>
Subject: Re: [PATCH v1-revised 1/5] KVM: SEV: Provide support for
SNP_GUEST_REQUEST NAE event
On 21/06/2024 18:15, Michael Roth wrote:
> From: Brijesh Singh <brijesh.singh@....com>
>
> Version 2 of GHCB specification added support for the SNP Guest Request
> Message NAE event. The event allows for an SEV-SNP guest to make
> requests to the SEV-SNP firmware through hypervisor using the
> SNP_GUEST_REQUEST API defined in the SEV-SNP firmware specification.
>
> This is used by guests primarily to request attestation reports from
> firmware. There are other request types are available as well, but the
> specifics of what guest requests are being made are opaque to the
> hypervisor, which only serves as a proxy for the guest requests and
> firmware responses.
>
> Implement handling for these events.
>
> Signed-off-by: Brijesh Singh <brijesh.singh@....com>
> Co-developed-by: Alexey Kardashevskiy <aik@....com>
> Signed-off-by: Alexey Kardashevskiy <aik@....com>
> Co-developed-by: Ashish Kalra <ashish.kalra@....com>
> Signed-off-by: Ashish Kalra <ashish.kalra@....com>
> Reviewed-by: Tom Lendacky <thomas.lendacky@....com>
> [mdr: ensure FW command failures are indicated to guest, drop extended
> request handling to be re-written as separate patch, massage commit]
> Signed-off-by: Michael Roth <michael.roth@....com>
> Message-ID: <20240501085210.2213060-19-michael.roth@....com>
> Signed-off-by: Paolo Bonzini <pbonzini@...hat.com>
Reviewed-by: Liam Merwick <liam.merwick@...cle.com>
> ---
> arch/x86/kvm/svm/sev.c | 73 ++++++++++++++++++++++++++++++++++
> include/uapi/linux/sev-guest.h | 9 +++++
> 2 files changed, 82 insertions(+)
>
Powered by blists - more mailing lists