cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-qemu-storage-daemon-Fix-typo-in-vhost-user-blk-help.patch

2bc292
From 20edf203c8cb314e27409918399aa7cbdc6fdb02 Mon Sep 17 00:00:00 2001
2bc292
From: Kevin Wolf <kwolf@redhat.com>
2bc292
Date: Tue, 25 Jan 2022 16:15:14 +0100
2bc292
Subject: [PATCH 2/5] qemu-storage-daemon: Fix typo in vhost-user-blk help
2bc292
2bc292
RH-Author: Kevin Wolf <kwolf@redhat.com>
2bc292
RH-MergeRequest: 63: qemu-storage-daemon: Add vhost-user-blk help
2bc292
RH-Commit: [2/2] b7afb670c398799b6e49b926e296771453a55fba (kmwolf/centos-qemu-kvm)
2bc292
RH-Bugzilla: 1962088
2bc292
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
2bc292
RH-Acked-by: Stefano Garzarella <sgarzare@redhat.com>
2bc292
RH-Acked-by: Hanna Reitz <hreitz@redhat.com>
2bc292
2bc292
The syntax of the fd passing case misses the "addr.type=" key. Add it.
2bc292
2bc292
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2bc292
Message-Id: <20220125151514.49035-1-kwolf@redhat.com>
2bc292
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
2bc292
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2bc292
(cherry picked from commit e66e665f15736f5ee1fbd8087926cb0f1e52f61a)
2bc292
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2bc292
---
2bc292
 storage-daemon/qemu-storage-daemon.c | 2 +-
2bc292
 1 file changed, 1 insertion(+), 1 deletion(-)
2bc292
2bc292
diff --git a/storage-daemon/qemu-storage-daemon.c b/storage-daemon/qemu-storage-daemon.c
2bc292
index 9d76d1114d..ec9aa79b55 100644
2bc292
--- a/storage-daemon/qemu-storage-daemon.c
2bc292
+++ b/storage-daemon/qemu-storage-daemon.c
2bc292
@@ -111,7 +111,7 @@ static void help(void)
2bc292
 "                         export the specified block node as a\n"
2bc292
 "                         vhost-user-blk device over UNIX domain socket\n"
2bc292
 "  --export [type=]vhost-user-blk,id=<id>,node-name=<node-name>,\n"
2bc292
-"           fd,addr.str=<fd>[,writable=on|off]\n"
2bc292
+"           addr.type=fd,addr.str=<fd>[,writable=on|off]\n"
2bc292
 "           [,logical-block-size=<block-size>][,num-queues=<num-queues>]\n"
2bc292
 "                         export the specified block node as a\n"
2bc292
 "                         vhost-user-blk device over file descriptor\n"
2bc292
-- 
2bc292
2.27.0
2bc292