All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/9] Enable Xenstore-stubdom Live Update
@ 2025-07-29 11:01 Juergen Gross
  2025-07-29 11:01 ` [PATCH v2 1/9] xenstored: use fread() instead of mmap() for reading live update state Juergen Gross
                   ` (8 more replies)
  0 siblings, 9 replies; 18+ messages in thread
From: Juergen Gross @ 2025-07-29 11:01 UTC (permalink / raw)
  To: xen-devel
  Cc: Juergen Gross, Julien Grall, Anthony PERARD, Andrew Cooper,
	Michal Orzel, Jan Beulich, Roger Pau Monné,
	Stefano Stabellini, Oleksii Kurochko, Community Manager

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

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  | 11 +++++
 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       | 95 +++++++++++++++++++++++---------------
 tools/xenstored/minios.c   | 22 +++++++--
 tools/xenstored/posix.c    | 10 ++++
 12 files changed, 147 insertions(+), 58 deletions(-)

-- 
2.43.0



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-07-30  6:54 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-29 11:01 [PATCH v2 0/9] Enable Xenstore-stubdom Live Update Juergen Gross
2025-07-29 11:01 ` [PATCH v2 1/9] xenstored: use fread() instead of mmap() for reading live update state Juergen Gross
2025-07-29 19:21   ` Andrew Cooper
2025-07-29 19:25     ` Andrew Cooper
2025-07-30  6:18       ` Jürgen Groß
2025-07-30  6:54         ` Juergen Gross
2025-07-29 11:01 ` [PATCH v2 2/9] libevtchn: add O_CLOEXEC support for Mini-OS Juergen Gross
2025-07-29 16:32   ` Anthony PERARD
2025-07-29 11:01 ` [PATCH v2 3/9] libxengnttab: set the cloexec flag on Mini-OS Juergen Gross
2025-07-29 16:34   ` Anthony PERARD
2025-07-29 11:01 ` [PATCH v2 4/9] xenstored: don't use xenevtchn_fdopen() in stubdom Juergen Gross
2025-07-29 11:01 ` [PATCH v2 5/9] tools/libxenevtchn: add xenevtchn_bind() under Mini-OS Juergen Gross
2025-07-29 17:00   ` Anthony PERARD
2025-07-30  6:03     ` Jürgen Groß
2025-07-29 11:01 ` [PATCH v2 6/9] xenstored: rebind event channels after live update in stubdom Juergen Gross
2025-07-29 11:01 ` [PATCH v2 7/9] tools/xenstored: make stubdom_init() live update aware Juergen Gross
2025-07-29 11:01 ` [PATCH v2 8/9] SUPPORT.md: add xenstorepvh-stubdom live update Juergen Gross
2025-07-29 11:01 ` [PATCH v2 9/9] CHANGELOG.md: " Juergen Gross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.