This series implements the new xl config entry proposed in [1]. Users can use the new config entry to statically setup shared memory areas among VMs so that they could communicate with each other through the static shared memory areas.
[1] Proposla to allow setting up shared memory areas between VMs from xl config files: https://lists.xenproject.org/archives/html/xen-devel/2017-07/msg03047.html Cheers, Zhongze Liu (4): libxl: introduce a new structure to represent static shared memory regions libxl:xl: add parsing code to parse "libxl_static_sshm" from xl config files x86/p2m : remove checks that forbid adding foreign pages between HVM guests libxl: support creation and destruction of static shared memory areas tools/libxl/Makefile | 4 +- tools/libxl/libxl.h | 4 + tools/libxl/libxl_create.c | 7 + tools/libxl/libxl_dom.c | 7 + tools/libxl/libxl_domain.c | 6 + tools/libxl/libxl_internal.h | 14 ++ tools/libxl/libxl_sshm.c | 370 +++++++++++++++++++++++++++++++++++++++++++ tools/libxl/libxl_types.idl | 28 ++++ tools/libxl/libxl_xshelp.c | 8 + tools/libxl/libxlu_sshm.c | 228 ++++++++++++++++++++++++++ tools/libxl/libxlutil.h | 6 + tools/xl/xl_parse.c | 24 ++- xen/arch/x86/mm/p2m.c | 20 ++- 13 files changed, 718 insertions(+), 8 deletions(-) create mode 100644 tools/libxl/libxl_sshm.c create mode 100644 tools/libxl/libxlu_sshm.c -- 2.13.3 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel