diff options
| author | Eric Blake | 2016-10-14 20:33:14 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2016-11-02 09:28:56 +0100 |
| commit | c203c59ad9dc677b27e00ba76d221fd7e93c1aa6 (patch) | |
| tree | 8d19b580c4128be92df039034cf12ea50068fc31 /scripts/modules/module_block.py | |
| parent | nbd: Less allocation during NBD_OPT_LIST (diff) | |
| download | qemu-c203c59ad9dc677b27e00ba76d221fd7e93c1aa6.tar.gz qemu-c203c59ad9dc677b27e00ba76d221fd7e93c1aa6.tar.xz qemu-c203c59ad9dc677b27e00ba76d221fd7e93c1aa6.zip | |
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>
Diffstat (limited to 'scripts/modules/module_block.py')
0 files changed, 0 insertions, 0 deletions
