]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-nbd.texi
nbd: allow setting of an export name for qemu-nbd server
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 10 Feb 2016 18:41:08 +0000 (18:41 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Feb 2016 16:16:00 +0000 (17:16 +0100)
commit3d4b2f9c9449ee1acdb1a488177204ebfdaccd0d
treee2c67bc452ae035eebf4c3f7ac2687866522be58
parente2a9d9a39d55fc3a0df387df05497b4b47d2dd83
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>
qemu-nbd.c
qemu-nbd.texi