Skip to content

RFC Allow setting up shared memory areas between VMs from xl config files

Zhongze Liu xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4libxl: introduce a new structure to represent static shared memory regionstools/libxl/libxl.h tools/libxl/libxl_types.idl+32 -00 replies
2/4libxl:xl: add parsing code to parse "libxl_static_sshm" from xl config filestools/libxl/Makefile tools/libxl/libxlu_sshm.c tools/libxl/libxlutil.h +1 more+258 -20 replies
3/4x86/p2m : remove checks that forbid adding foreign pages between HVM guestsxen/arch/x86/mm/p2m.c+15 -52 replies
4/4libxl: support creation and destruction of static shared memory areastools/libxl/Makefile tools/libxl/libxl_create.c tools/libxl/libxl_dom.c +4 more+413 -16 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/4] Allow setting up shared memory areas between VMs from xl config files

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
Signature · 7 lines
2.13.3


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel