aboutsummaryrefslogtreecommitdiff
path: root/qemu-nbd.texi
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2016-02-10 18:41:08 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2016-02-16 17:16:00 +0100
commit3d4b2f9c9449ee1acdb1a488177204ebfdaccd0d (patch)
treee2c67bc452ae035eebf4c3f7ac2687866522be58 /qemu-nbd.texi
parente2a9d9a39d55fc3a0df387df05497b4b47d2dd83 (diff)
nbd: allow setting of an export name for qemu-nbd server
The qemu-nbd server currently always uses the old style protocol since it never sets any export name. This is a problem because future TLS support will require use of the new style protocol negotiation. This adds "--exportname NAME" / "-x NAME" arguments to qemu-nbd which allow the user to set an explicit export name. When an export name is set the server will always use the new style NBD protocol. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-Id: <1455129674-17255-11-git-send-email-berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-nbd.texi')
-rw-r--r--qemu-nbd.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-nbd.texi b/qemu-nbd.texi
index a56ebc3433..874481dacf 100644
--- a/qemu-nbd.texi
+++ b/qemu-nbd.texi
@@ -73,6 +73,9 @@ Disconnect the device @var{dev}
Allow up to @var{num} clients to share the device (default @samp{1})
@item -t, --persistent
Don't exit on the last connection
+@item -x NAME, --export-name=NAME
+Set the NBD volume export name. This switches the server to use
+the new style NBD protocol negotiation
@item -v, --verbose
Display extra debugging information
@item -h, --help