]> Git Repo - qemu.git/commit - nbd/client.c
nbd/client: prepare nbd_receive_reply for structured reply
authorVladimir Sementsov-Ogievskiy <[email protected]>
Fri, 27 Oct 2017 10:40:35 +0000 (12:40 +0200)
committerEric Blake <[email protected]>
Mon, 30 Oct 2017 20:48:32 +0000 (21:48 +0100)
commitd2febedb45729d1fe431ca7c1ed9519acfb454c4
tree7448dd5b0ab5ae8fa857f7d9640515ff004ad56a
parentd795299bf497a6155f6cecff83a5e41bb37aba2c
nbd/client: prepare nbd_receive_reply for structured reply

In following patch nbd_receive_reply will be used both for simple
and structured reply header receiving.
NBDReply is altered into union of simple reply header and structured
reply chunk header, simple error translation moved to block/nbd-client
to be consistent with further structured reply error translation.

Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Signed-off-by: Eric Blake <[email protected]>
Message-Id: <20171027104037[email protected]>
block/nbd-client.c
include/block/nbd.h
nbd/client.c
nbd/trace-events
This page took 0.02432 seconds and 4 git commands to generate.