Skip to content

xenbus: Fix S3 frontend resume when xenstored is not running

Aurelien Chartier xen-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 3 repliesIn review
  2. v42 patches 5 repliesSuperseded
  3. v32 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches3 repliesSuperseded
v12 patches6 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xenbus: save xenstore local status for later usedrivers/xen/xenbus/xenbus_comms.h drivers/xen/xenbus/xenbus_probe.c drivers/xen/xenbus/xenbus_probe.h+20 -150 replies
2/2xenbus: delay xenbus frontend resume if xenstored is not runningdrivers/xen/xenbus/xenbus_probe_frontend.c include/xen/xenbus.h+37 -13 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDavid VrabelJan Beulich
1/2R-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH V5 0/2] xenbus: Fix S3 frontend resume when xenstored is not running

Hi,

This patch series fixes the S3 resume of a domain running xenstored and a frontend over xenbus (xen-netfront in my use case).

As device resume is happening before process resume, the xenbus frontend resume is hanging if xenstored is not running, thus causing a deadlock. This patch series is fixing that issue by deferring the xenbus frontend resume when we are running xenstored in that same domain.

Aurelien Chartier (2):
xenbus: save xenstore local status for later use
xenbus: delay xenbus frontend resume if xenstored is not running

 drivers/xen/xenbus/xenbus_comms.h          |    1 +
 drivers/xen/xenbus/xenbus_probe.c          |   27 +++++++++-----------
 drivers/xen/xenbus/xenbus_probe.h          |    7 ++++++
 drivers/xen/xenbus/xenbus_probe_frontend.c |   37 +++++++++++++++++++++++++++-
 include/xen/xenbus.h                       |    1 +
 5 files changed, 57 insertions(+), 16 deletions(-)
Signature · 1 line
1.7.10.4