Re: [edk2-devel] [PATCH 2/3] OvmfPkg: CloudHv: Retrieve RSDP address from PVH

2022-02-25 Thread Gerd Hoffmann
Hi, > > I'm wondering whenever there are plans for cloudhv to also support > > sev > > and/or tdx some day.  If so, then it probably isn't a good idea to > > switch to the xen reset vector.   > > Well Cloud Hypervisor aims at supporting TDX, but based on a separate > firmware. We're not trying

Re: [edk2-devel] [PATCH 2/3] OvmfPkg: CloudHv: Retrieve RSDP address from PVH

2022-02-24 Thread Boeuf, Sebastien
On Wed, 2022-02-23 at 12:31 +0100, Gerd Hoffmann wrote: >   Hi, > > > +  PVHResetVectorData = (VOID *)(UINTN)PcdGet32 > > (PcdXenPvhStartOfDayStructPtr); > > +  pvh_start_info   = (struct hvm_start_info > > *)(UINTN)PVHResetVectorData[0]; > > Ah, I see, here is the xen reset vector dependency

Re: [edk2-devel] [PATCH 2/3] OvmfPkg: CloudHv: Retrieve RSDP address from PVH

2022-02-23 Thread Gerd Hoffmann
Hi, > + PVHResetVectorData = (VOID *)(UINTN)PcdGet32 > (PcdXenPvhStartOfDayStructPtr); > + pvh_start_info = (struct hvm_start_info > *)(UINTN)PVHResetVectorData[0]; Ah, I see, here is the xen reset vector dependency. I'm wondering whenever there are plans for cloudhv to also support

[edk2-devel] [PATCH 2/3] OvmfPkg: CloudHv: Retrieve RSDP address from PVH

2022-02-22 Thread Boeuf, Sebastien
From: Sebastien Boeuf Instead of hardcoding the address of the RSDP in the firmware, let's rely on the PVH structure hvm_start_info to retrieve this information. Signed-off-by: Sebastien Boeuf --- OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf | 2 ++ OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c