Skip to content

Enable Xenstore-stubdom Live Update

Juergen Gross xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 10 repliesIn review
  2. v29 patches 8 repliesSuperseded
  3. v19 patches 13 repliesSuperseded

Changes in v3 from the cover letter

- minor changes in patches 1 and 5

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9xenstored: use fread() instead of mmap() for reading live update statetools/xenstored/lu.c+60 -372 replies
2/9libevtchn: add O_CLOEXEC support for Mini-OStools/libs/evtchn/minios.c+2 -40 replies
3/9libxengnttab: set the cloexec flag on Mini-OStools/libs/gnttab/minios.c+1 -00 replies
4/9xenstored: don't use xenevtchn_fdopen() in stubdomtools/xenstored/core.h tools/xenstored/domain.c tools/xenstored/minios.c +1 more+14 -10 replies
5/9tools/libxenevtchn: add xenevtchn_bind() under Mini-OStools/include/xenevtchn.h tools/libs/evtchn/minios.c+30 -00 replies
6/9xenstored: rebind event channels after live update in stubdomtools/xenstored/core.c tools/xenstored/core.h tools/xenstored/domain.c +2 more+19 -30 replies
7/9tools/xenstored: make stubdom_init() live update awaretools/xenstored/core.c tools/xenstored/core.h tools/xenstored/domain.c +2 more+22 -130 replies
8/9SUPPORT.md: add xenstorepvh-stubdom live updateSUPPORT.md+1 -16 replies
9/9CHANGELOG.md: add xenstorepvh-stubdom live updateCHANGELOG.md+1 -02 replies

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by.

PatchJason AndryukAnthony PERARDJulien Grall
1/9R-b
2/9R-b A-b
3/9R-b A-b
4/9R-b
5/9R-b A-b
6/9R-b
7/9R-b
8/9A-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/9] Enable Xenstore-stubdom Live Update

With this series applied I was able to perform Live Update of Xenstore running in a PVH stubdom.

One relevant change in this series is how the Xenstore state is being read after activating the new binary. Instead of using mmap() the state records are read one by one via fread(). This might have a small performance impact for the daemon live update case, but it should be neglectable.

Changes in V2:
- rebase
- former patches 1 and 2 have been committed already
- former patch 5 moved to start of the series (has all needed Acks)
- new patches 8 and 9

Changes in V3:
- minor changes in patches 1 and 5

Juergen Gross (9):
xenstored: use fread() instead of mmap() for reading live update state
libevtchn: add O_CLOEXEC support for Mini-OS
libxengnttab: set the cloexec flag on Mini-OS
xenstored: don't use xenevtchn_fdopen() in stubdom tools/libxenevtchn: add xenevtchn_bind() under Mini-OS
xenstored: rebind event channels after live update in stubdom tools/xenstored: make stubdom_init() live update aware SUPPORT.md: add xenstorepvh-stubdom live update CHANGELOG.md: add xenstorepvh-stubdom live update

 CHANGELOG.md               |  1 +
 SUPPORT.md                 |  2 +-
 tools/include/xenevtchn.h  | 13 +++++
 tools/libs/evtchn/minios.c | 23 +++++++--
 tools/libs/gnttab/minios.c |  1 +
 tools/xenstored/core.c     |  5 +-
 tools/xenstored/core.h     |  8 +++-
 tools/xenstored/domain.c   | 25 ++++++----
 tools/xenstored/domain.h   |  2 +-
 tools/xenstored/lu.c       | 97 +++++++++++++++++++++++---------------
 tools/xenstored/minios.c   | 22 +++++++--
 tools/xenstored/posix.c    | 10 ++++
 12 files changed, 150 insertions(+), 59 deletions(-)
Signature · 1 line
2.43.0