On Wed, Jul 16, 2014 at 01:37:05PM -0400, Konrad Rzeszutek Wilk wrote: [...] > > + > > +EFI_STATUS > > +XenHyperpageInit ( > > + XENBUS_DEVICE *Dev > > + ) > > +{ > > + EFI_HOB_GUID_TYPE *GuidHob; > > + EFI_XEN_INFO *XenInfo; > > + > > + GuidHob = GetFirstGuidHob (&gEfiXenInfoGuid); > > + if (GuidHob == NULL) { > > + DEBUG ((EFI_D_INFO, "XenbusInit: No xeninfo ?\n")); > > + return EFI_NOT_FOUND; > > + } > > + XenInfo = (EFI_XEN_INFO*)GET_GUID_HOB_DATA (GuidHob); > > + Dev->Hyperpage = XenInfo->HyperPages; > > + return EFI_SUCCESS; > > +} > > Could you describe in the git commit a bit on how/where in hvmloader > this EfiXenInfoGuid is set and how the OVMF gets a handle on it? >
I don't think hvmloader creates this info. OVMF creates this by itself. See OvmfPkg/PlatformPei/Xen.c:XenConnect. Wei. > Thank you. > > _______________________________________________ > Xen-devel mailing list > xen-de...@lists.xen.org > http://lists.xen.org/xen-devel ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel