From 3d4b2f9c9449ee1acdb1a488177204ebfdaccd0d Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Wed, 10 Feb 2016 18:41:08 +0000 Subject: 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 Message-Id: <1455129674-17255-11-git-send-email-berrange@redhat.com> Signed-off-by: Paolo Bonzini --- qemu-nbd.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qemu-nbd.texi') 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 -- cgit v1.2.3