Skip to contentSkip to conversation

qemu-nbd: Document --tls-creds

PATCH In review Eric Blake 2 participants 5 messages Oct 3, 2018

lore
Share & tools
lore

Eric Blake

author
#0 lore raw

PATCH 1/1 qemu-nbd: Document --tls-creds

Commit 145614a1 introduced --tls-creds, but forgot to document it in 'qemu-nbd --help'.

---
Sadly, 'git grep -i "qemu.nbd.*tls"' has no hits, making me wonder if our iotests are even covering this.

Noticed while writing my other patches for defaulting to newstyle.

---
 qemu-nbd.c | 1 +
 1 file changed, 1 insertion(+)
qemu-nbd.c +1 -0
index 51b9d38c727..66e023f7fa4 100644
@@ -94,6 +94,7 @@ static void usage(const char *name)
 "General purpose options:\n"
 "  --object type,id=ID,...   define an object such as 'secret' for providing\n"
 "                            passwords and/or encryption keys\n"
+"  --tls-creds=ID            use id of an earlier --object to provide TLS\n"
 "  -T, --trace [[enable=]<pattern>][,events=<file>][,file=<file>]\n"
 "                            specify tracing options\n"
 "  --fork                    fork off the server process and exit the parent\n"
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 20 lines · Eric Blake

Commit 145614a1 introduced --tls-creds, but forgot to document it in 'qemu-nbd --help'.

---
Sadly, 'git grep -i "qemu.nbd.*tls"' has no hits, making me wonder if our iotests are even covering this.

Noticed while writing my other patches for defaulting to newstyle.

---
 qemu-nbd.c | 1 +
 1 file changed, 1 insertion(+)
qemu-nbd.c +0 -0
index 51b9d38c727..66e023f7fa4 100644

qemu-nbd.c static void usage(const char *name) · line 100

Quoted 7 lines
qemu-nbd.c +1 -0
@@ -94,6 +94,7 @@ static void usage(const char *name)
 "General purpose options:\n"
 "  --object type,id=ID,...   define an object such as 'secret' for providing\n"
 "                            passwords and/or encryption keys\n"
+"  --tls-creds=ID            use id of an earlier --object to provide TLS\n"
 "  -T, --trace [[enable=]<pattern>][,events=<file>][,file=<file>]\n"
 "                            specify tracing options\n"
 "  --fork                    fork off the server process and exit the parent\n"

Do we have a manpage/texi that needs to update, too?

author
#2 lore raw
Quoted 6 lines · John Snow
Quoted 3 lines · Eric Blake

Commit 145614a1 introduced --tls-creds, but forgot to document it in 'qemu-nbd --help'.

Quoted 6 lines
Quoted 2 lines

Do we have a manpage/texi that needs to update, too?

No; commit 145614a1 already covered that in qemu-nbd.texi. It's just the --help output that needs it. I can tweak the commit message to mention that, if it helps.

Signature · 3 lines
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org
author
#4 lore raw
In reply to Eric Blake
Quoted 5 lines · Eric Blake

Commit 145614a1 introduced --tls-creds, but forgot to document it in 'qemu-nbd --help'.

Quoted 8 lines

---
Sadly, 'git grep -i "qemu.nbd.*tls"' has no hits, making me wonder if our iotests are even covering this.

Noticed while writing my other patches for defaulting to newstyle.

---
  qemu-nbd.c | 1 +
  1 file changed, 1 insertion(+)

Thanks; applied to my NBD queue.

Signature · 3 lines
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org
#3 lore raw
In reply to Eric Blake
Quoted 10 lines · Eric Blake
Quoted 8 lines · John Snow
Quoted 5 lines · Eric Blake

Commit 145614a1 introduced --tls-creds, but forgot to document it in 'qemu-nbd --help'.

Quoted 8 lines
Quoted 3 lines

Do we have a manpage/texi that needs to update, too?

No; commit 145614a1 already covered that in qemu-nbd.texi.  It's just the --help output that needs it. I can tweak the commit message to mention that, if it helps.

Not worth a re-spin.

--js