summaryrefslogtreecommitdiff
path: root/block/nbd-client.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2017-11-08 15:57:00 -0600
committerEric Blake <eblake@redhat.com>2017-11-09 10:17:12 -0600
commitefdc0c103d7919e5cabfc0b12a5699c1f8e482db (patch)
tree130da66f3b904081527fa365703e1e42732f2f37 /block/nbd-client.c
parent079d3266c79a41b2b00780f74d1c5e0b1756be95 (diff)
downloadqemu-efdc0c103d7919e5cabfc0b12a5699c1f8e482db.tar.gz
nbd: Fix struct name for structured reads
A closer read of the NBD spec shows that a structured reply chunk for a hole is not quite identical to the prefix of a data chunk, because the hole has to also send a 32-bit size field. Although we do not yet send holes, we should fix the misleading information in our header and make it easier for a future patch to support sparse reads. Messed up in commit bae245d1. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <20171108215703.9295-5-eblake@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'block/nbd-client.c')
0 files changed, 0 insertions, 0 deletions