[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: question regarding FIT image generation in imagebuilder
+Michal On Wed, 21 Aug 2024, Amneesh Singh wrote: > I was trying to generate a FIT image and could not understand why is > there this check, in the script. > > if test "$FIT" > then > memaddr=$(( $MEMORY_END - 2 * ( $memaddr + $offset ) )) > else > memaddr=$(( $MEMORY_END - $memaddr - $offset )) > fi > if test $memaddr -lt 0 > then > echo Error, not enough memory to load all binaries > cleanup_and_return_err > fi > > What I do not understand is why there is a 2x for the FIT image? Hi Amneesh, It has been a while since the feature was added, but I think the reason is that with the FIT image the binaries need to be copied out of the FIT image before they can be loaded by Xen into guest memory. So, you need to have at least 2x the amount of memory compared to the non-FIT image case. Cheers, Stefano
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |