thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

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

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