summaryrefslogtreecommitdiffstats
path: root/block/nbd.c
Commit message (Expand)AuthorAgeFilesLines
* nbd: allow reconnect on open, with corresponding new optionsVladimir Sementsov-Ogievskiy2021-12-211-1/+44
* block/nbd: check that received handle is validVladimir Sementsov-Ogievskiy2021-09-291-8/+3Star
* block/nbd: drop connection_coVladimir Sementsov-Ogievskiy2021-09-291-275/+100Star
* block/nbd: refactor nbd_recv_coroutines_wake_all()Vladimir Sementsov-Ogievskiy2021-09-291-9/+17
* block/nbd: move nbd_recv_coroutines_wake_all() upVladimir Sementsov-Ogievskiy2021-09-291-14/+14
* block/nbd: nbd_channel_error() shutdown channel unconditionallyVladimir Sementsov-Ogievskiy2021-09-291-3/+4
* block: use int64_t instead of int in driver discard handlersVladimir Sementsov-Ogievskiy2021-09-291-2/+4
* block: use int64_t instead of int in driver write_zeroes handlersVladimir Sementsov-Ogievskiy2021-09-291-2/+4
* block: use int64_t instead of uint64_t in driver write handlersVladimir Sementsov-Ogievskiy2021-09-291-2/+3
* block: use int64_t instead of uint64_t in driver read handlersVladimir Sementsov-Ogievskiy2021-09-291-2/+3
* nbd: register yank function earlierLukas Straub2021-07-121-3/+5
* block/nbd: Use qcrypto_tls_creds_check_endpoint()Philippe Mathieu-Daudé2021-06-291-3/+3
* block/nbd: safer transition to receiving requestVladimir Sementsov-Ogievskiy2021-06-181-1/+3
* block/nbd: add nbd_client_connected() helperVladimir Sementsov-Ogievskiy2021-06-181-11/+14
* block/nbd: reuse nbd_co_do_establish_connection() in nbd_open()Vladimir Sementsov-Ogievskiy2021-06-181-98/+5Star
* nbd/client-connection: add option for non-blocking connection attemptVladimir Sementsov-Ogievskiy2021-06-181-1/+1
* block/nbd: split nbd_co_do_establish_connection out of nbd_reconnect_attemptVladimir Sementsov-Ogievskiy2021-06-181-38/+42
* nbd/client-connection: return only one io channelVladimir Sementsov-Ogievskiy2021-06-181-11/+2Star
* block/nbd: drop BDRVNBDState::siocVladimir Sementsov-Ogievskiy2021-06-181-50/+48Star
* block/nbd: don't touch s->sioc in nbd_teardown_connection()Vladimir Sementsov-Ogievskiy2021-06-181-4/+0Star
* block/nbd: use negotiation of NBDClientConnectionVladimir Sementsov-Ogievskiy2021-06-181-14/+30
* block/nbd: split nbd_handle_updated_info out of nbd_client_handshake()Vladimir Sementsov-Ogievskiy2021-06-181-42/+58
* nbd/client-connection: add possibility of negotiationVladimir Sementsov-Ogievskiy2021-06-181-2/+2
* nbd: move connection code from block/nbd to nbd/client-connectionVladimir Sementsov-Ogievskiy2021-06-181-207/+0Star
* block/nbd: introduce nbd_client_connection_release()Vladimir Sementsov-Ogievskiy2021-06-181-18/+27
* block/nbd: introduce nbd_client_connection_new()Vladimir Sementsov-Ogievskiy2021-06-181-6/+9
* block/nbd: rename NBDConnectThread to NBDClientConnectionVladimir Sementsov-Ogievskiy2021-06-181-67/+67
* block/nbd: make nbd_co_establish_connection_cancel() bs-independentVladimir Sementsov-Ogievskiy2021-06-181-8/+9
* block/nbd: bs-independent interface for nbd_co_establish_connection()Vladimir Sementsov-Ogievskiy2021-06-181-18/+32
* block/nbd: drop thr->stateVladimir Sementsov-Ogievskiy2021-06-181-95/+45Star
* block/nbd: simplify waking of nbd_co_establish_connection()Vladimir Sementsov-Ogievskiy2021-06-181-40/+15Star
* block/nbd: BDRVNBDState: drop unused connect_err and connect_statusVladimir Sementsov-Ogievskiy2021-06-181-10/+2Star
* block/nbd: nbd_client_handshake(): fix leak of s->iocVladimir Sementsov-Ogievskiy2021-06-181-0/+2
* block/nbd: ensure ->connection_thread is always validRoman Kagan2021-06-181-35/+21Star
* block/nbd: call socket_address_parse_named_fd() in advanceVladimir Sementsov-Ogievskiy2021-06-181-0/+6
* block/nbd: connect_thread_func(): do qio_channel_set_delay(false)Vladimir Sementsov-Ogievskiy2021-06-181-0/+2
* block/nbd: fix how state is cleared on nbd_open() failure pathsVladimir Sementsov-Ogievskiy2021-06-181-18/+18
* block/nbd: fix channel object leakRoman Kagan2021-06-181-0/+1
* coroutine-sleep: replace QemuCoSleepState pointer with struct in the APIPaolo Bonzini2021-05-211-5/+5
* coroutine-sleep: allow qemu_co_sleep_wake that wakes nothingPaolo Bonzini2021-05-211-6/+2Star
* block/nbd: fix possible use after free of s->connect_threadVladimir Sementsov-Ogievskiy2021-04-131-0/+11
* block/nbd: implement .bdrv_cancel_in_flightVladimir Sementsov-Ogievskiy2021-02-121-0/+15
* block/nbd: only enter connection coroutine if it's presentRoman Kagan2021-02-031-7/+9
* block/nbd: only detach existing iochannel from aio_contextRoman Kagan2021-02-031-1/+8
* block/nbd.c: Add yank featureLukas Straub2021-01-131-61/+92
* Remove superfluous timer_del() callsPeter Maydell2021-01-081-1/+0Star
* nbd: Add 'qemu-nbd -A' to expose allocation depthEric Blake2020-10-301-5/+21
* block/nbd: nbd_co_reconnect_loop(): don't connect if drainedVladimir Sementsov-Ogievskiy2020-10-091-0/+3
* block/nbd: fix reconnect-delayVladimir Sementsov-Ogievskiy2020-10-091-9/+50
* block/nbd: correctly use qio_channel_detach_aio_context when neededVladimir Sementsov-Ogievskiy2020-10-091-2/+2