aboutsummaryrefslogtreecommitdiff
path: root/storage-daemon
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2022-05-25 13:19:47 +0100
committerKevin Wolf <kwolf@redhat.com>2022-06-24 17:07:06 +0200
commitca941c406cc3fb152abdfa490e66aaedd03b869c (patch)
tree9b092efde8fbf21d8afb90f6c74f2729704ddb92 /storage-daemon
parentd043e2db87a3d9725a8cbc86cfee61039df65f77 (diff)
downloadqemu-ca941c406cc3fb152abdfa490e66aaedd03b869c.zip
qemu-ca941c406cc3fb152abdfa490e66aaedd03b869c.tar.gz
qemu-ca941c406cc3fb152abdfa490e66aaedd03b869c.tar.bz2
qsd: document vduse-blk exports
Document vduse-blk exports in qemu-storage-daemon --help and the qemu-storage-daemon(1) man page. Based-on: <20220523084611.91-1-xieyongji@bytedance.com> Cc: Xie Yongji <xieyongji@bytedance.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20220525121947.859820-1-stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'storage-daemon')
-rw-r--r--storage-daemon/qemu-storage-daemon.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/storage-daemon/qemu-storage-daemon.c b/storage-daemon/qemu-storage-daemon.c
index c104817..17fd3f2 100644
--- a/storage-daemon/qemu-storage-daemon.c
+++ b/storage-daemon/qemu-storage-daemon.c
@@ -121,6 +121,15 @@ static void help(void)
" vhost-user-blk device over file descriptor\n"
"\n"
#endif /* CONFIG_VHOST_USER_BLK_SERVER */
+#ifdef CONFIG_VDUSE_BLK_EXPORT
+" --export [type=]vduse-blk,id=<id>,node-name=<node-name>\n"
+" [,writable=on|off][,num-queues=<num-queues>]\n"
+" [,queue-size=<queue-size>]\n"
+" [,logical-block-size=<logical-block-size>]\n"
+" export the specified block node as a vduse-blk\n"
+" device using the id as the VDUSE device name\n"
+"\n"
+#endif /* CONFIG_VDUSE_BLK_EXPORT */
" --monitor [chardev=]name[,mode=control][,pretty[=on|off]]\n"
" configure a QMP monitor\n"
"\n"