]> git.proxmox.com Git - mirror_qemu.git/commit
nbd: Detect servers that send unexpected error values
authorEric Blake <eblake@redhat.com>
Wed, 11 May 2016 22:39:43 +0000 (16:39 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 16 Jun 2016 16:39:05 +0000 (18:39 +0200)
commitf3c32fce3688fe1f13ceb0777faa1fc19d66d1fc
tree6a4bd762166ec0f04b4d214d44d2e6f0bddfa1d6
parentf57e2416aaeb39c32946d282768ece7ff619b423
nbd: Detect servers that send unexpected error values

Add some debugging to flag servers that are not compliant to
the NBD protocol.  This would have flagged the server bug
fixed in commit c0301fcc.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alex Bligh <alex@alex.org.uk>
Message-Id: <1463006384-7734-11-git-send-email-eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
nbd/client.c