Eric Blake c203c59ad9 nbd: Support shorter handshake
The NBD Protocol allows the server and client to mutually agree
on a shorter handshake (omit the 124 bytes of reserved 0), via
the server advertising NBD_FLAG_NO_ZEROES and the client
acknowledging with NBD_FLAG_C_NO_ZEROES (only possible in
newstyle, whether or not it is fixed newstyle).  It doesn't
shave much off the wire, but we might as well implement it.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alex Bligh <alex@alex.org.uk>
Message-Id: <1476469998-28592-13-git-send-email-eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-11-02 09:28:56 +01:00
..
2016-11-02 09:28:56 +01:00
2016-10-19 10:09:24 +01:00
2016-10-31 18:19:06 +00:00
2016-10-31 12:35:39 +00:00
2016-09-15 15:32:22 +03:00
2016-09-05 15:15:16 +02:00
2016-10-28 14:29:50 +01:00
2016-10-26 08:29:00 -07:00