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.