Re: [PATCH v4 22/35] OvmfPkg/XenPlatformPei: no hvmloader: get the E820 table via hypercall

Anthony PERARD
 

On Wed, Aug 07, 2019 at 05:14:33PM +0200, Roger Pau Monné wrote:
On Mon, Jul 29, 2019 at 04:39:31PM +0100, Anthony PERARD wrote:
When the Xen PVH entry point has been used, hvmloader hasn't run and
hasn't prepared an E820 table. The only way left to get an E820 table
is to ask Xen via an hypercall, the call can only be made once so keep
the result cached for later.
I think we agreed that the above is not true, and that the memory
map can be fetched as many times as desired using the hypercall
interface.
Yes, I'll change the commit message. How about:

When the Xen PVH entry point has been used, hvmloader hasn't run and
hasn't prepared an E820 table. The only way left to get an E820 table
is to ask Xen via an hypercall. We keep the result cached to avoid
making a second hypercall which would give the same result.

Thanks,

--
Anthony PERARD

Join devel@edk2.groups.io to automatically receive all group messages.