Home
last modified time | relevance | path

Searched hist:"5 d2318499fe980542fbc21d9ccbc127a6106017b" (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/include/block/
H A Dblock.hdiff 5d2318499fe980542fbc21d9ccbc127a6106017b Mon May 06 12:17:56 CDT 2019 Kevin Wolf <kwolf@redhat.com> block: Add bdrv_try_set_aio_context()

Eventually, we want to make sure that all parents and all children of a
node are in the same AioContext as the node itself. This means that
changing the AioContext may fail because one of the other involved
parties (e.g. a guest device that was configured with an iothread)
cannot allow switching to a different AioContext.

Introduce a set of functions that allow to first check whether all
involved nodes can switch to a new context and only then do the actual
switch. The check recursively covers children and parents.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
H A Dblock_int.hdiff 5d2318499fe980542fbc21d9ccbc127a6106017b Mon May 06 12:17:56 CDT 2019 Kevin Wolf <kwolf@redhat.com> block: Add bdrv_try_set_aio_context()

Eventually, we want to make sure that all parents and all children of a
node are in the same AioContext as the node itself. This means that
changing the AioContext may fail because one of the other involved
parties (e.g. a guest device that was configured with an iothread)
cannot allow switching to a different AioContext.

Introduce a set of functions that allow to first check whether all
involved nodes can switch to a new context and only then do the actual
switch. The check recursively covers children and parents.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
/openbmc/qemu/
H A Dblock.cdiff 5d2318499fe980542fbc21d9ccbc127a6106017b Mon May 06 12:17:56 CDT 2019 Kevin Wolf <kwolf@redhat.com> block: Add bdrv_try_set_aio_context()

Eventually, we want to make sure that all parents and all children of a
node are in the same AioContext as the node itself. This means that
changing the AioContext may fail because one of the other involved
parties (e.g. a guest device that was configured with an iothread)
cannot allow switching to a different AioContext.

Introduce a set of functions that allow to first check whether all
involved nodes can switch to a new context and only then do the actual
switch. The check recursively covers children and parents.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>