mbox series

[v9,0/6] tools: enable xenstore-stubdom to use 9pfs

Message ID 20240229124830.13680-1-jgross@suse.com (mailing list archive)
Headers show
Series tools: enable xenstore-stubdom to use 9pfs | expand

Message

Jürgen Groß Feb. 29, 2024, 12:48 p.m. UTC
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. CI-test has passed.

Changes in V9:
- new patch 1
- patches 1+2 and 4 of V8 have been applied

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 (6):
  config: update Mini-OS commit
  stubdom: extend xenstore stubdom configs
  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()

 Config.mk                                     |  2 +-
 stubdom/xenstore-minios.cfg                   |  2 +-
 stubdom/xenstorepvh-minios.cfg                |  2 +-
 .../Linux/init.d/sysconfig.xencommons.in      |  1 -
 tools/hotplug/Linux/launch-xenstore.in        |  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 ++-
 12 files changed, 108 insertions(+), 31 deletions(-)