Razvan Cojocaru writes ("[PATCH V3] tools/libxc, xen/x86: Added 
xc_set_mem_access_multi()"):
> Currently it is only possible to set mem_access restrictions only for
> a contiguous range of GFNs (or, as a particular case, for a single GFN).
> This patch introduces a new libxc function taking an array of GFNs.
> The alternative would be to set each page in turn, using a userspace-HV
> roundtrip for each call, and triggering a TLB flush per page set.
> 
> Signed-off-by: Razvan Cojocaru <rcojoc...@bitdefender.com>
> Acked-by: Wei Liu <wei.l...@citrix.com>

I have no objection with my tools maintainer hat on.  But I have a
question for you and/or the hypervisor maintainers:

Could this aim be achieved with a multicall ?  (Can multicalls defer
the TLB flush?)

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to