aboutsummaryrefslogtreecommitdiff
path: root/block/nbd.c
AgeCommit message (Expand)AuthorFilesLines
2021-06-18block/nbd: rename NBDConnectThread to NBDClientConnectionVladimir Sementsov-Ogievskiy1-67/+67
2021-06-18block/nbd: make nbd_co_establish_connection_cancel() bs-independentVladimir Sementsov-Ogievskiy1-8/+9
2021-06-18block/nbd: bs-independent interface for nbd_co_establish_connection()Vladimir Sementsov-Ogievskiy1-18/+32
2021-06-18block/nbd: drop thr->stateVladimir Sementsov-Ogievskiy1-95/+45
2021-06-18block/nbd: simplify waking of nbd_co_establish_connection()Vladimir Sementsov-Ogievskiy1-40/+15
2021-06-18block/nbd: BDRVNBDState: drop unused connect_err and connect_statusVladimir Sementsov-Ogievskiy1-10/+2
2021-06-18block/nbd: nbd_client_handshake(): fix leak of s->iocVladimir Sementsov-Ogievskiy1-0/+2
2021-06-18block/nbd: ensure ->connection_thread is always validRoman Kagan1-35/+21
2021-06-18block/nbd: call socket_address_parse_named_fd() in advanceVladimir Sementsov-Ogievskiy1-0/+6
2021-06-18block/nbd: connect_thread_func(): do qio_channel_set_delay(false)Vladimir Sementsov-Ogievskiy1-0/+2
2021-06-18block/nbd: fix how state is cleared on nbd_open() failure pathsVladimir Sementsov-Ogievskiy1-18/+18
2021-06-18block/nbd: fix channel object leakRoman Kagan1-0/+1
2021-05-21coroutine-sleep: replace QemuCoSleepState pointer with struct in the APIPaolo Bonzini1-5/+5
2021-05-21coroutine-sleep: allow qemu_co_sleep_wake that wakes nothingPaolo Bonzini1-6/+2
2021-04-13block/nbd: fix possible use after free of s->connect_threadVladimir Sementsov-Ogievskiy1-0/+11
2021-02-12block/nbd: implement .bdrv_cancel_in_flightVladimir Sementsov-Ogievskiy1-0/+15
2021-02-03block/nbd: only enter connection coroutine if it's presentRoman Kagan1-7/+9
2021-02-03block/nbd: only detach existing iochannel from aio_contextRoman Kagan1-1/+8
2021-01-13block/nbd.c: Add yank featureLukas Straub1-61/+92
2021-01-08Remove superfluous timer_del() callsPeter Maydell1-1/+0
2020-10-30nbd: Add 'qemu-nbd -A' to expose allocation depthEric Blake1-5/+21
2020-10-09block/nbd: nbd_co_reconnect_loop(): don't connect if drainedVladimir Sementsov-Ogievskiy1-0/+3
2020-10-09block/nbd: fix reconnect-delayVladimir Sementsov-Ogievskiy1-9/+50
2020-10-09block/nbd: correctly use qio_channel_detach_aio_context when neededVladimir Sementsov-Ogievskiy1-2/+2
2020-10-09block/nbd: fix drain dead-lock because of nbd reconnect-delayVladimir Sementsov-Ogievskiy1-0/+5
2020-09-02block/nbd: use non-blocking connect: fix vm hang on connect()Vladimir Sementsov-Ogievskiy1-1/+265
2020-07-28block/nbd: nbd_co_reconnect_loop(): don't sleep if drainedVladimir Sementsov-Ogievskiy1-5/+6
2020-07-28block/nbd: on shutdown terminate connection attemptVladimir Sementsov-Ogievskiy1-4/+11
2020-07-28block/nbd: allow drain during reconnect attemptVladimir Sementsov-Ogievskiy1-0/+14
2020-07-28block/nbd: split nbd_establish_connection out of nbd_client_connectVladimir Sementsov-Ogievskiy1-24/+36
2020-07-28block: nbd: Fix convert qcow2 compressed to nbdNir Soffer1-0/+30
2020-07-13nbd: Avoid off-by-one in long export name truncationEric Blake1-1/+1
2020-07-10nbd: Use ERRP_GUARD()Vladimir Sementsov-Ogievskiy1-4/+3
2020-07-10error: Eliminate error_propagate() with Coccinelle, part 2Markus Armbruster1-6/+2
2020-07-10qapi: Use returned bool to check for failure, Coccinelle partMarkus Armbruster1-2/+1
2020-07-10qemu-option: Use returned bool to check for failureMarkus Armbruster1-2/+1
2020-06-10block: Call attention to truncation of long NBD exportsEric Blake1-8/+13
2020-05-04block/nbd-client: drop max_block restriction from discardVladimir Sementsov-Ogievskiy1-1/+1
2020-05-04block/nbd-client: drop max_block restriction from block_statusVladimir Sementsov-Ogievskiy1-3/+1
2020-03-26block: trickle down the fallback image creation function use to the block dri...Maxim Levitsky1-0/+6
2020-02-26block/nbd: fix memory leak in nbd_open()Pan Nengyuan1-0/+1
2020-02-26block/nbd: extract the common cleanup codePan Nengyuan1-11/+15
2020-02-26nbd-client: Support leading / in NBD URIEric Blake1-2/+4
2020-02-20block/nbd: Fix hang in .bdrv_close()Max Reitz1-1/+13
2019-12-18nbd: assert that Error** is not NULL in nbd_iter_channel_errorVladimir Sementsov-Ogievskiy1-0/+1
2019-11-18nbd: Don't send oversize stringsEric Blake1-0/+10
2019-10-22block/nbd: nbd reconnectVladimir Sementsov-Ogievskiy1-63/+268
2019-10-10nbd: add empty .bdrv_reopen_prepareMaxim Levitsky1-0/+15
2019-09-05nbd: Implement client use of NBD FAST_ZEROEric Blake1-0/+7
2019-09-05nbd: Use g_autofree in a few placesEric Blake1-7/+4