]> git.proxmox.com Git - mirror_qemu.git/commit
nbd: Send message along with server NBD_REP_ERR errors
authorEric Blake <eblake@redhat.com>
Fri, 14 Oct 2016 18:33:09 +0000 (13:33 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 2 Nov 2016 08:28:55 +0000 (09:28 +0100)
commit3668328303429f3bc93ab3365c66331600b06a2d
treec8f412dde07649081e32aab9878cf016e5b94831
parent526e5c6559928ed98332dd27f026e8cbc95f466a
nbd: Send message along with server NBD_REP_ERR errors

The NBD Protocol allows us to send human-readable messages
along with any NBD_REP_ERR error during option negotiation;
make use of this fact for clients that know what to do with
our message.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1476469998-28592-8-git-send-email-eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
nbd/server.c