aboutsummaryrefslogtreecommitdiff
path: root/nbd/client.c
AgeCommit message (Expand)AuthorFilesLines
2023-07-19nbd: Use enum for various negotiation modesEric Blake1-21/+25
2023-07-19nbd/client: Add safety check on chunk payload lengthEric Blake1-0/+12
2023-07-19nbd: s/handle/cookie/ to match NBD specEric Blake1-7/+7
2023-07-19nbd/client: Use smarter assertEric Blake1-3/+4
2021-09-29block/nbd: drop connection_coVladimir Sementsov-Ogievskiy1-2/+0
2020-07-10nbd: Use ERRP_GUARD()Vladimir Sementsov-Ogievskiy1-0/+5
2019-11-18nbd: Don't send oversize stringsEric Blake1-3/+15
2019-09-24nbd/client: Add hint when TLS is missingEric Blake1-0/+1
2019-09-05nbd: Tolerate more errors to structured reply requestEric Blake1-30/+33
2019-09-05nbd: Use g_autofree in a few placesEric Blake1-15/+7
2019-08-16Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2019-08-15' into st...Peter Maydell1-5/+11
2019-08-16Include qemu/queue.h slightly lessMarkus Armbruster1-0/+1
2019-08-15block/nbd: use non-blocking io channel for nbd negotiationVladimir Sementsov-Ogievskiy1-5/+11
2019-04-08nbd/client: Fix error message for server with unusable sizingEric Blake1-1/+1
2019-04-01nbd/client: Reject inaccessible tail of inconsistent serverEric Blake1-0/+8
2019-02-25nbd: Use low-level QIOChannel API in nbd_read_eof()Kevin Wolf1-9/+37
2019-02-25nbd: Move nbd_read_eof() to nbd/client.cKevin Wolf1-1/+21
2019-02-04nbd: generalize usage of nbd_readVladimir Sementsov-Ogievskiy1-59/+29
2019-01-21nbd/client: Work around 3.0 bug for listing meta contextsEric Blake1-0/+19
2019-01-21nbd/client: Add meta contexts to nbd_receive_export_list()Eric Blake1-2/+39
2019-01-21nbd/client: Add nbd_receive_export_list()Eric Blake1-2/+130
2019-01-21nbd/client: Refactor nbd_opt_go() to support NBD_OPT_INFOEric Blake1-14/+22
2019-01-21nbd/client: Pull out oldstyle size determinationEric Blake1-17/+32
2019-01-21nbd/client: Split handshake into two functionsEric Blake1-50/+95
2019-01-21nbd/client: Refactor return of nbd_receive_negotiate()Eric Blake1-28/+23
2019-01-21nbd/client: Split out nbd_receive_one_meta_context()Eric Blake1-57/+90
2019-01-21nbd/client: Split out nbd_send_meta_query()Eric Blake1-20/+44
2019-01-21nbd/client: Change signature of nbd_negotiate_simple_meta_context()Eric Blake1-28/+25
2019-01-21nbd/client: Move export name into NBDExportInfoEric Blake1-21/+18
2019-01-21nbd/client: Refactor nbd_receive_list()Eric Blake1-33/+58
2019-01-05nbd/client: Drop pointless buf variableEric Blake1-15/+7
2019-01-05qemu-nbd: Fail earlier for -c/-d on non-linuxEric Blake1-17/+1
2019-01-05nbd/client: More consistent error messagesEric Blake1-9/+12
2019-01-04nbd/client: Trace all server option error messagesEric Blake1-0/+2
2018-10-03nbd: Don't take address of fields in packed structsPeter Maydell1-22/+22
2018-07-02nbd/client: Add x-dirty-bitmap to query bitmap from serverEric Blake1-2/+2
2018-05-04nbd/client: Fix error messages during NBD_INFO_BLOCK_SIZEEric Blake1-4/+10
2018-05-04nbd/client: fix nbd_negotiate_simple_meta_contextVladimir Sementsov-Ogievskiy1-2/+2
2018-04-02nbd: trace meta context negotiationEric Blake1-0/+2
2018-04-02nbd/client: Correctly handle bad server REP_META_CONTEXTEric Blake1-7/+21
2018-03-13nbd: BLOCK_STATUS for standard get_block_status function: client partVladimir Sementsov-Ogievskiy1-0/+117
2018-03-06qio: non-default context for TLS handshakePeter Xu1-0/+1
2018-03-01nbd/client: fix error messages in nbd_handle_reply_errVladimir Sementsov-Ogievskiy1-12/+12
2018-01-10nbd: rename nbd_option and nbd_opt_replyVladimir Sementsov-Ogievskiy1-6/+6
2017-11-17nbd/client: Don't hard-disconnect on ESHUTDOWN from serverEric Blake1-6/+0
2017-11-17nbd/client: Use error_prepend() correctlyEric Blake1-24/+26
2017-11-09nbd/client: Nicer trace of structured replyEric Blake1-1/+3
2017-10-30nbd: Minimal structured read for clientVladimir Sementsov-Ogievskiy1-0/+12
2017-10-30nbd/client: prepare nbd_receive_reply for structured replyVladimir Sementsov-Ogievskiy1-22/+82
2017-10-30nbd/client: refactor nbd_receive_starttlsVladimir Sementsov-Ogievskiy1-15/+41