Hi, After talking to Stefano, I know that there seem to be no such hypercalls to restrict the W/R/X permissions on the shared backing pages (XENMEM_access_op is for another purpose, sorry for getting its usage wrong). And it seems that the ability to specify these permissions is not strictly necessary. Since the goal of this project is to setup VM-to-VM communication, in most cases, users would just expect that the shared memory is mapped read-write with cacheability attributes of normal memory. So the temporary conclusion is to restrict the design to sharing read-write pages with normal caching attributes, with the rest left to the to-be-done list.
Cheers, Zhongze Liu _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel