qemu/docs/tools
Stefan Hajnoczi 3f14b909eb docs: show how to spawn qemu-storage-daemon with fd passing
The QMP monitor, NBD server, and vhost-user-blk export all support file
descriptor passing. This is a useful technique because it allows the
parent process to spawn and wait for qemu-storage-daemon without busy
waiting, which may delay startup due to arbitrary sleep() calls.

This Python example is inspired by the test case written for libnbd by
Richard W.M. Jones <rjones@redhat.com>:
89113f484e

Thanks to Daniel P. Berrangé <berrange@redhat.com> for suggestions on
how to get this working. Now let's document it!

Reported-by: Richard W.M. Jones <rjones@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20210301172728.135331-2-stefanha@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2021-03-08 14:55:19 +01:00
..
_templates docs: add "page source" link to sphinx documentation 2020-11-10 08:51:30 +01:00
index.rst docs: add qemu-storage-daemon(1) man page 2020-12-18 11:48:39 +01:00
qemu-img.rst qemu-img: add support for rate limit in qemu-img convert 2020-10-27 15:26:20 +01:00
qemu-nbd.rst qemu-nbd: Permit --shared=0 for unlimited clients 2021-02-12 07:42:08 -06:00
qemu-pr-helper.rst docs: Split qemu-pr-helper documentation into tools manual 2020-11-23 11:10:04 +00:00
qemu-storage-daemon.rst docs: show how to spawn qemu-storage-daemon with fd passing 2021-03-08 14:55:19 +01:00
qemu-trace-stap.rst docs: Move tools documentation to tools manual 2020-02-25 10:48:06 +00:00
virtfs-proxy-helper.rst docs: Move tools documentation to tools manual 2020-02-25 10:48:06 +00:00
virtiofsd.rst virtiofs: drop remapped security.capability xattr as needed 2021-03-04 10:26:16 +00:00