Home
last modified time | relevance | path

Searched hist:f8be48adf08641f43dfb34b6abf50f9bc21fc250 (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/block/
H A Dblock-backend.cdiff f8be48adf08641f43dfb34b6abf50f9bc21fc250 Tue Oct 25 03:49:49 CDT 2022 Emanuele Giuseppe Esposito <eesposit@redhat.com> block: use the new _change_ API instead of _can_set_ and _set_

Replace all direct usage of ->can_set_aio_ctx and ->set_aio_ctx,
and call bdrv_child_try_change_aio_context() in
bdrv_try_set_aio_context(), the main function called through
the whole block layer.

From this point onwards, ->can_set_aio_ctx and ->set_aio_ctx
won't be used anymore.

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20221025084952.2139888-8-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
/openbmc/qemu/
H A Dblock.cdiff f8be48adf08641f43dfb34b6abf50f9bc21fc250 Tue Oct 25 03:49:49 CDT 2022 Emanuele Giuseppe Esposito <eesposit@redhat.com> block: use the new _change_ API instead of _can_set_ and _set_

Replace all direct usage of ->can_set_aio_ctx and ->set_aio_ctx,
and call bdrv_child_try_change_aio_context() in
bdrv_try_set_aio_context(), the main function called through
the whole block layer.

From this point onwards, ->can_set_aio_ctx and ->set_aio_ctx
won't be used anymore.

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20221025084952.2139888-8-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>