]> git.ipfire.org Git - thirdparty/qemu.git/commit - qemu-nbd.c
nbd: Add qemu-nbd -D for human-readable description
authorEric Blake <eblake@redhat.com>
Fri, 14 Oct 2016 18:33:03 +0000 (13:33 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 2 Nov 2016 08:28:55 +0000 (09:28 +0100)
commitb1a75b3348010820cc324943f09e090ea1fc524f
tree9d2cbc6c435e638dca9a05d0df62bd8ecd528c0f
parent1775f111eaf7f49efcec30152db44a184c1e2222
nbd: Add qemu-nbd -D for human-readable description

The NBD protocol allows servers to advertise a human-readable
description alongside an export name during NBD_OPT_LIST.  Add
an option to pass through the user's string to the NBD client.

Doing this also makes it easier to test commit 200650d4, which
is the client counterpart of receiving the description.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1476469998-28592-2-git-send-email-eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/block/nbd.h
nbd/nbd-internal.h
nbd/server.c
qemu-nbd.c
qemu-nbd.texi