On Thu, 2014-12-11 at 14:45 +0100, Vitaly Kuznetsov wrote: > + gmfn = mfn_to_gmfn(d, mfn);
(I haven't thought about it super hard, but I'm taking it as given that this approach to kexec is going to be needed for ARM too, since that seems likely) mfn_to_gmfn is going to be a bit pricey on ARM, we don't have an m2p to refer to, I'm not sure what we would do instead, walking the p2m looking for mfns surely won't be a good idea! An alternative approach to this might be to walk the guest p2m (with appropriate continuations) and move each domheap page (this would also help us preserve super page mappings). It would also have the advantage of not needing additional stages in the destroy path and state in struct domain etc, since all the action would be constrained to the one hypercall. x86 folks, would that work for your p2m too? Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel