Re: [Xen-devel] [RFC 0/3] xen/arm: Support XENMEM_exchange

2015-12-22 Thread Jan Beulich
>>> On 17.12.15 at 17:31, wrote: > I've looked at reworking XENMEM_exchange to avoid mfn_to_gmfn. My idea would > be to allocate a temporary array to store the GFN between the two loops. > However, the array would be quite large (the max default is 18 on ARM), > so I don't know if it's acceptable.

[Xen-devel] [RFC 0/3] xen/arm: Support XENMEM_exchange

2015-12-17 Thread Julien Grall
Hi all, Currently XENMEM_exchange is not supported on ARM because the steal_page is left unimplemented. However, even if steal_page is implemented, the hypercall can't work for ARM because: - Direct mapped domain is not supported - ARM doesn't have a M2P and therefore usage of mfn_to_gmfn