diff options
| author | Vladimir Sementsov-Ogievskiy | 2018-03-12 16:21:23 +0100 |
|---|---|---|
| committer | Eric Blake | 2018-03-13 21:43:48 +0100 |
| commit | 78a33ab58782efdb206de14fa44ea626e2360bfc (patch) | |
| tree | fa7858141d63f531161b407db2f55e5cee44f065 /include/exec/memory-internal.h | |
| parent | block/nbd-client: save first fatal error in nbd_iter_error (diff) | |
| download | qemu-78a33ab58782efdb206de14fa44ea626e2360bfc.tar.gz qemu-78a33ab58782efdb206de14fa44ea626e2360bfc.tar.xz qemu-78a33ab58782efdb206de14fa44ea626e2360bfc.zip | |
nbd: BLOCK_STATUS for standard get_block_status function: client part
Minimal realization: only one extent in server answer is supported.
Flag NBD_CMD_FLAG_REQ_ONE is used to force this behavior.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180312152126.286890-6-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: grammar tweaks, fix min_block check and 32-bit cap, use -1
instead of errno on failure in nbd_negotiate_simple_meta_context,
ensure that block status makes progress on success]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/exec/memory-internal.h')
0 files changed, 0 insertions, 0 deletions
