summaryrefslogtreecommitdiffstats
path: root/storage-daemon
diff options
context:
space:
mode:
authorXie Yongji2022-06-14 07:15:31 +0200
committerKevin Wolf2022-06-24 17:07:06 +0200
commit0862a087fd710a6c7ad4ea01d35309686e54e202 (patch)
tree780ebf7daabb54866ec8c0ac1a2ef6365f2df50f /storage-daemon
parentnbd: Drop dead code spotted by Coverity (diff)
downloadqemu-0862a087fd710a6c7ad4ea01d35309686e54e202.tar.gz
qemu-0862a087fd710a6c7ad4ea01d35309686e54e202.tar.xz
qemu-0862a087fd710a6c7ad4ea01d35309686e54e202.zip
vduse-blk: Add serial option
Add a 'serial' option to allow user to specify this value explicitly. And the default value is changed to an empty string as what we did in "hw/block/virtio-blk.c". Signed-off-by: Xie Yongji <xieyongji@bytedance.com> Message-Id: <20220614051532.92-6-xieyongji@bytedance.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'storage-daemon')
-rw-r--r--storage-daemon/qemu-storage-daemon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage-daemon/qemu-storage-daemon.c b/storage-daemon/qemu-storage-daemon.c
index 17fd3f2f5f..4e18d3fc85 100644
--- a/storage-daemon/qemu-storage-daemon.c
+++ b/storage-daemon/qemu-storage-daemon.c
@@ -126,6 +126,7 @@ static void help(void)
" [,writable=on|off][,num-queues=<num-queues>]\n"
" [,queue-size=<queue-size>]\n"
" [,logical-block-size=<logical-block-size>]\n"
+" [,serial=<serial-number>]\n"
" export the specified block node as a vduse-blk\n"
" device using the id as the VDUSE device name\n"
"\n"