]> Git Repo - qemu.git/commit
block-backend: implement .change_aio_ctx in child_root
authorEmanuele Giuseppe Esposito <[email protected]>
Tue, 25 Oct 2022 08:49:48 +0000 (04:49 -0400)
committerKevin Wolf <[email protected]>
Thu, 27 Oct 2022 18:14:11 +0000 (20:14 +0200)
commit33949396216fa16a97f5b33877b50d5830f21aad
tree00acd447370aea32a7474069bc3e6084fa1fc825
parent27633e740e784709f256f6ee70f2dd0b5a87279f
block-backend: implement .change_aio_ctx in child_root

blk_root_change_aio_ctx() is very similar to blk_root_can_set_aio_ctx(),
but implements a new transaction so that if all check pass, the new
transaction's .commit will take care of changing the BlockBackend
AioContext. blk_root_set_aio_ctx_commit() is the same as
blk_root_set_aio_ctx().

Note: bdrv_child_try_change_aio_context() is not called by
anyone at this point.

Signed-off-by: Emanuele Giuseppe Esposito <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Message-Id: <20221025084952.2139888[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/block-backend.c
This page took 0.039809 seconds and 4 git commands to generate.