[PATCH v8 0/8] tools: enable xenstore-stubdom to use 9pfs

Juergen Gross posted 8 patches 2 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20240216163139.9093-1-jgross@suse.com
There is a newer version of this series
docs/man/xl.cfg.5.pod.in                      |  36 +++-
stubdom/xenstore-minios.cfg                   |   2 +-
stubdom/xenstorepvh-minios.cfg                |   2 +-
tools/golang/xenlight/helpers.gen.go          |  10 +
tools/golang/xenlight/types.gen.go            |  12 ++
tools/helpers/init-xenstore-domain.c          |   7 +
.../Linux/init.d/sysconfig.xencommons.in      |   1 -
tools/hotplug/Linux/launch-xenstore.in        |   1 +
tools/include/libxl.h                         |  22 ++
tools/libs/light/libxl_9pfs.c                 | 191 +++++++++++++++++-
tools/libs/light/libxl_create.c               |   4 +-
tools/libs/light/libxl_dm.c                   |   2 +-
tools/libs/light/libxl_types.idl              |  11 +
tools/libs/light/libxl_types_internal.idl     |   1 +
tools/xenstored/control.c                     |  29 +--
tools/xenstored/core.c                        |  15 +-
tools/xenstored/core.h                        |  11 +-
tools/xenstored/domain.c                      |   2 +
tools/xenstored/lu_daemon.c                   |   4 +-
tools/xenstored/minios.c                      |  62 ++++++
tools/xenstored/posix.c                       |   8 +-
tools/xl/xl_parse.c                           |  23 ++-
22 files changed, 414 insertions(+), 42 deletions(-)
[PATCH v8 0/8] tools: enable xenstore-stubdom to use 9pfs
Posted by Juergen Gross 2 months, 1 week ago
This series is adding 9pfs support to Xenstore-stubdom, enabling it
to do logging to a dom0 directory.

This is a prerequisite for the final goal to add live update support
to Xenstore-stubdom, as it enables the stubdom to store its state in
a dom0 file.

Reposting the rest series.

Changes in V8:
- patches 1-13 of V7 have been applied

Changes in V7:
- fixed V6 bugs

Changes in V6:
- patch 1 of V5 has been applied
- rebase
- addressed comments

Changes in V5:
- 10 patches have been applied already
- rename source directory to tools/9pfsd
- addressed comments

Changes in V4:
- patch 2 of V3 was applied
- added support of reading directories
- addressed review comments

Changes in V3:
- new patches 1, 23-25
- addressed review comments

Changes in V2:
- support of multiple rings per device
- xenlogd->xen-9pfsd rename
- addressed review comments
- fixed some bugs

Juergen Gross (8):
  tools/libs/light: add backend type for 9pfs PV devices
  tools/xl: support new 9pfs backend xen_9pfsd
  stubdom: extend xenstore stubdom configs
  tools: add 9pfs device to xenstore-stubdom
  tools/xenstored: mount 9pfs device in stubdom
  tools/xenstored: add helpers for filename handling
  tools/xenstored: support complete log capabilities in stubdom
  tools/xenstored: have a single do_control_memreport()

 docs/man/xl.cfg.5.pod.in                      |  36 +++-
 stubdom/xenstore-minios.cfg                   |   2 +-
 stubdom/xenstorepvh-minios.cfg                |   2 +-
 tools/golang/xenlight/helpers.gen.go          |  10 +
 tools/golang/xenlight/types.gen.go            |  12 ++
 tools/helpers/init-xenstore-domain.c          |   7 +
 .../Linux/init.d/sysconfig.xencommons.in      |   1 -
 tools/hotplug/Linux/launch-xenstore.in        |   1 +
 tools/include/libxl.h                         |  22 ++
 tools/libs/light/libxl_9pfs.c                 | 191 +++++++++++++++++-
 tools/libs/light/libxl_create.c               |   4 +-
 tools/libs/light/libxl_dm.c                   |   2 +-
 tools/libs/light/libxl_types.idl              |  11 +
 tools/libs/light/libxl_types_internal.idl     |   1 +
 tools/xenstored/control.c                     |  29 +--
 tools/xenstored/core.c                        |  15 +-
 tools/xenstored/core.h                        |  11 +-
 tools/xenstored/domain.c                      |   2 +
 tools/xenstored/lu_daemon.c                   |   4 +-
 tools/xenstored/minios.c                      |  62 ++++++
 tools/xenstored/posix.c                       |   8 +-
 tools/xl/xl_parse.c                           |  23 ++-
 22 files changed, 414 insertions(+), 42 deletions(-)

-- 
2.35.3