[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC 04/18] OvmfPkg/XenbusDxe: Add support to make Xen Hypercalls.



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-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.