summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2024-02-07 10:29:40 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2024-02-13 10:59:25 +0300
commitd81b797ca26e4cfbee5c7578c64f381c79caa5d1 (patch)
treea29b4c36b96ea779dda004aff2ea6fa84ebffe88
parent967fbcc453c094728dbdefcc135e67141ab2c2f5 (diff)
downloadfocaccia-qemu-d81b797ca26e4cfbee5c7578c64f381c79caa5d1.tar.gz
focaccia-qemu-d81b797ca26e4cfbee5c7578c64f381c79caa5d1.zip
qemu-nbd: mention --tls-hostname option in qemu-nbd --help
This option was not documented.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1240
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r--qemu-nbd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-nbd.c b/qemu-nbd.c
index bac0b5e3ec..d7b3ccab21 100644
--- a/qemu-nbd.c
+++ b/qemu-nbd.c
@@ -114,6 +114,7 @@ static void usage(const char *name)
 "  --tls-creds=ID            use id of an earlier --object to provide TLS\n"
 "  --tls-authz=ID            use id of an earlier --object to provide\n"
 "                            authorization\n"
+"  --tls-hostname=HOSTNAME   override hostname used to check x509 certificate\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"