aboutsummaryrefslogtreecommitdiff
path: root/block.c
AgeCommit message (Expand)AuthorFilesLines
2022-12-15block: GRAPH_RDLOCK for functions only called by co_wrappersKevin Wolf1-0/+2
2022-12-15Mark assert_bdrv_graph_readable/writable() GRAPH_RD/WRLOCKKevin Wolf1-2/+2
2022-12-15block: assert that graph read and writes are performed correctlyEmanuele Giuseppe Esposito1-2/+2
2022-12-15block: remove unnecessary assert_bdrv_graph_writable()Emanuele Giuseppe Esposito1-3/+0
2022-12-15block: wrlock in bdrv_replace_child_nopermEmanuele Giuseppe Esposito1-4/+3
2022-12-15block: Fix locking in external_snapshot_prepare()Kevin Wolf1-0/+4
2022-12-15block: convert bdrv_create to co_wrapperEmanuele Giuseppe Esposito1-39/+2
2022-12-15block: bdrv_create_file is a coroutine_fnEmanuele Giuseppe Esposito1-2/+3
2022-12-15block: distinguish between bdrv_create running in coroutine and notEmanuele Giuseppe Esposito1-35/+34
2022-12-15block: avoid duplicating filename string in bdrv_createEmanuele Giuseppe Esposito1-5/+2
2022-12-15block: Remove poll parameter from bdrv_parent_drained_begin_single()Kevin Wolf1-2/+2
2022-12-15block: Don't poll in bdrv_replace_child_noperm()Kevin Wolf1-14/+89
2022-12-15block: Remove ignore_bds_parents parameter from drain_begin/end.Kevin Wolf1-1/+1
2022-12-15block: Call drain callbacks only onceKevin Wolf1-18/+7
2022-12-15block: Remove subtree drainsKevin Wolf1-15/+5
2022-12-15stream: Replace subtree drain with a single node drainKevin Wolf1-3/+14
2022-12-15block: Don't use subtree drains in bdrv_drop_intermediate()Kevin Wolf1-2/+2
2022-12-15block: Drain individual nodes during reopenKevin Wolf1-7/+9
2022-12-15block: Fix locking for bdrv_reopen_queue_child()Kevin Wolf1-2/+5
2022-12-15block: Remove drained_end_counterKevin Wolf1-3/+2
2022-12-15block: Revert .bdrv_drained_begin/end to non-coroutine_fnKevin Wolf1-2/+2
2022-12-15block: refactor bdrv_list_refresh_perms to allow any list of nodesVladimir Sementsov-Ogievskiy1-19/+32
2022-12-15block: bdrv_refresh_perms(): allow external tranVladimir Sementsov-Ogievskiy1-11/+20
2022-12-15block: drop bdrv_remove_filter_or_cow_childVladimir Sementsov-Ogievskiy1-14/+1
2022-12-15block: Inline bdrv_detach_child()Vladimir Sementsov-Ogievskiy1-27/+19
2022-11-10block: Make bdrv_child_get_parent_aio_context I/OHanna Reitz1-1/+1
2022-11-06module: add Error arguments to module_load and module_load_qomClaudio Fontana1-5/+15
2022-11-06module: rename module_load_one to module_loadClaudio Fontana1-2/+2
2022-10-30Merge tag 'for-upstream' of https://repo.or.cz/qemu/kevin into stagingStefan Hajnoczi1-475/+380
2022-10-27block: switch to *_co_* functionsAlberto Faria1-1/+1
2022-10-27block: remove bdrv_try_set_aio_context and replace it with bdrv_try_change_ai...Emanuele Giuseppe Esposito1-10/+4
2022-10-27block: rename bdrv_child_try_change_aio_context in bdrv_try_change_aio_contextEmanuele Giuseppe Esposito1-3/+3
2022-10-27block: remove all unused ->can_set_aio_ctx and ->set_aio_ctx callbacksEmanuele Giuseppe Esposito1-196/+0
2022-10-27block: use the new _change_ API instead of _can_set_ and _set_Emanuele Giuseppe Esposito1-19/+25
2022-10-27block: implement .change_aio_ctx in child_of_bdsEmanuele Giuseppe Esposito1-0/+9
2022-10-27bdrv_change_aio_context: use hash table instead of list of visited nodesEmanuele Giuseppe Esposito1-12/+16
2022-10-27block: use transactions as a replacement of ->{can_}set_aio_context()Emanuele Giuseppe Esposito1-1/+219
2022-10-27block.c: assert bs->aio_context is written under BQL and drainsEmanuele Giuseppe Esposito1-0/+2
2022-10-27block: refactor bdrv_remove_file_or_backing_child to bdrv_remove_childVladimir Sementsov-Ogievskiy1-18/+9
2022-10-27block: Manipulate bs->file / bs->backing pointers in .attach/.detachVladimir Sementsov-Ogievskiy1-129/+105
2022-10-27Revert "block: Pass BdrvChild ** to replace_child_noperm"Vladimir Sementsov-Ogievskiy1-12/+11
2022-10-27Revert "block: Restructure remove_file_or_backing_child()"Vladimir Sementsov-Ogievskiy1-12/+9
2022-10-27Revert "block: Let replace_child_tran keep indirect pointer"Vladimir Sementsov-Ogievskiy1-71/+10
2022-10-27Revert "block: Let replace_child_noperm free children"Vladimir Sementsov-Ogievskiy1-79/+23
2022-10-27block: introduce bdrv_open_file_child() helperVladimir Sementsov-Ogievskiy1-0/+21
2022-10-27block: Refactor get_tmp_filename()Bin Meng1-26/+30
2022-10-27block: Ignore close() failure in get_tmp_filename()Bin Meng1-4/+1
2022-10-26block: add BDRV_REQ_REGISTERED_BUF request flagStefan Hajnoczi1-0/+14
2022-10-07jobs: group together API calls under the same job lockEmanuele Giuseppe Esposito1-7/+10
2022-10-07block: add missing coroutine_fn annotationsPaolo Bonzini1-3/+4