Re: [PATCH v4 18/31] hw/i386/sev: Add function to get SEV metadata from OVMF header

2024-05-31 Thread Liam Merwick via
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; >>> +} >>> + >>> +

Re: [PATCH v4 18/31] hw/i386/sev: Add function to get SEV metadata from OVMF header

2024-05-31 Thread Liam Merwick via
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.

Re: [PATCH v4 02/31] linux-headers: Update to current kvm/next

2024-05-31 Thread Liam Merwick via
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