]> git.proxmox.com Git - mirror_qemu.git/commit
block: implement .change_aio_ctx in child_of_bds
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>
Tue, 25 Oct 2022 08:49:47 +0000 (04:49 -0400)
committerKevin Wolf <kwolf@redhat.com>
Thu, 27 Oct 2022 18:14:11 +0000 (20:14 +0200)
commit27633e740e784709f256f6ee70f2dd0b5a87279f
tree544ba83d2e48a6ceac1209a86970c7b2f2f43b6e
parent3428b100dc65dbce3e3b646df471a8fb2a5df556
block: implement .change_aio_ctx in child_of_bds

bdrv_child_cb_change_aio_ctx() is identical to
bdrv_child_cb_can_set_aio_ctx(), as we only need
to recursively go on the parent bs.

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: Hanna Reitz <hreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20221025084952.2139888-6-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c