diff options
| author | Vladimir Sementsov-Ogievskiy | 2017-10-27 12:40:37 +0200 |
|---|---|---|
| committer | Eric Blake | 2017-10-30 21:48:41 +0100 |
| commit | f140e3000371e67ff4e00df3213e2d576d9c91be (patch) | |
| tree | 1111920c7dbb774be55932b164ee966ea54f32e5 /nbd/nbd-internal.h | |
| parent | nbd: Move nbd_read() to common header (diff) | |
| download | qemu-f140e3000371e67ff4e00df3213e2d576d9c91be.tar.gz qemu-f140e3000371e67ff4e00df3213e2d576d9c91be.tar.xz qemu-f140e3000371e67ff4e00df3213e2d576d9c91be.zip | |
nbd: Minimal structured read for client
Minimal implementation: for structured error only error_report error
message.
Note that test 83 is now more verbose, because the implementation
prints more warnings about unexpected communication errors; perhaps
future patches should tone things down by using trace messages
instead of traces, but the common case of successful communication
is no noisier than before.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20171027104037.8319-13-eblake@redhat.com>
Diffstat (limited to 'nbd/nbd-internal.h')
| -rw-r--r-- | nbd/nbd-internal.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nbd/nbd-internal.h b/nbd/nbd-internal.h index b64eb1cc9b..eeff78d3c9 100644 --- a/nbd/nbd-internal.h +++ b/nbd/nbd-internal.h @@ -104,7 +104,6 @@ const char *nbd_opt_lookup(uint32_t opt); const char *nbd_rep_lookup(uint32_t rep); const char *nbd_info_lookup(uint16_t info); const char *nbd_cmd_lookup(uint16_t info); -const char *nbd_reply_type_lookup(uint16_t type); const char *nbd_err_lookup(int err); int nbd_drop(QIOChannel *ioc, size_t size, Error **errp); |
