On Mon, May 13, 2024 at 01:40:31PM +0000, Elias El Yandouzi wrote: > From: Wei Liu <[email protected]> > > It is going to be needed by HVM and idle domain as well, because without > the direct map, both need a mapcache to map pages.
The idle domain is a PV domain, and so gets the mapcache already initialized with the current code? > > This commit lifts the mapcache variable up and initialise it a bit earlier > for PV and HVM domains. It would be good to write down why mapcache was only used for PV, so to understand it is safe to use for HVM also. > Signed-off-by: Wei Liu <[email protected]> > Signed-off-by: Wei Wang <[email protected]> > Signed-off-by: Hongyan Xia <[email protected]> > Signed-off-by: Julien Grall <[email protected]> Acked-by: Roger Pau Monné <[email protected]> Thanks, Roger.
