On 31/05/2024 16:41, Paolo Bonzini wrote:
> On Fri, May 31, 2024 at 5:20 PM Liam Merwick wrote:
>>> +metadata = (OvmfSevMetadata *)(flash_ptr + flash_size - data->offset);
>>> +if (memcmp(metadata->signature, "ASEV", 4) != 0) {
>>> +return;
>>> +}
>>> +
>>> +
On 30/05/2024 12:16, Pankaj Gupta wrote:
> From: Brijesh Singh
>
> A recent version of OVMF expanded the reset vector GUID list to add
> SEV-specific metadata GUID. The SEV metadata describes the reserved
> memory regions such as the secrets and CPUID page used during the SEV-SNP
> guest launch.
On 30/05/2024 12:16, Pankaj Gupta wrote:
> Co-developed-by: Michael Roth
> Signed-off-by: Michael Roth
> Signed-off-by: Pankaj Gupta
> ---
> linux-headers/asm-loongarch/bitsperlong.h | 23 ++
> linux-headers/asm-loongarch/kvm.h | 4 ++
> linux-headers/asm-loongarch/mman.h