Skip to content

docs: show how to spawn qemu-storage-daemon with fd passing

Stefan Hajnoczi qemu-devel 3 versions Applied

Status from this message: Thanks, applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesApplied
  2. v22 patches 1 replySuperseded
  3. v11 patch 11 repliesSuperseded

Changes in v3 from the cover letter

* Explain how to detect launch errors and that the listen socket must be closed in the parent process in order for this to work [Daniel]

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2docs: show how to spawn qemu-storage-daemon with fd passingdocs/tools/qemu-storage-daemon.rst+40 -21 reply
2/2docs: replace insecure /tmp examples in qsd docsdocs/tools/qemu-storage-daemon.rst+4 -32 replies

Reviews trailers per patch

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

PatchDaniel P. BerrangéRichard W.M. Jones
1/2R-b
2/2R-b R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/2] docs: show how to spawn qemu-storage-daemon with fd passing

v3:
* Explain how to detect launch errors and that the listen socket must be closed in the parent process in order for this to work [Daniel]

v2:
* Use /var/run/qmp.sock instead of /tmp/qmp-$PID.sock to prevent security issues with world-writeable directories [Rich, Daniel]
* Add Patch 2 to fix insecure examples in the documentation [Rich, Daniel]

Add an example of how to spawn qemu-storage-daemon with fd passing. This approach eliminates the need to busy wait for the QMP, NBD, or vhost-user socket to become available.

Stefan Hajnoczi (2):
docs: show how to spawn qemu-storage-daemon with fd passing
docs: replace insecure /tmp examples in qsd docs

 docs/tools/qemu-storage-daemon.rst | 49 +++++++++++++++++++++++++++---
 1 file changed, 44 insertions(+), 5 deletions(-)
Signature · 1 line
2.29.2