diff options
author | Emanuele Giuseppe Esposito <eesposit@redhat.com> | 2022-10-25 04:49:48 -0400 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2022-10-27 20:14:11 +0200 |
commit | 33949396216fa16a97f5b33877b50d5830f21aad (patch) | |
tree | 00acd447370aea32a7474069bc3e6084fa1fc825 /disas/hexagon.c | |
parent | 27633e740e784709f256f6ee70f2dd0b5a87279f (diff) |
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 <eesposit@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20221025084952.2139888-7-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'disas/hexagon.c')
0 files changed, 0 insertions, 0 deletions