Home
last modified time | relevance | path

Searched hist:"15 f3f1fe57cd98ef0f45a25681b7a99dc3be0484" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/include/block/
H A Dblock-global-state.hdiff 15f3f1fe57cd98ef0f45a25681b7a99dc3be0484 Fri Sep 29 09:51:44 CDT 2023 Kevin Wolf <kwolf@redhat.com> block: Mark bdrv_get_xdbg_block_graph() and callers GRAPH_RDLOCK

This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_get_xdbg_block_graph() need to hold a reader lock for the graph
because it accesses the children list of a node.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20230929145157.45443-10-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
/openbmc/qemu/
H A Dblockdev.cdiff 15f3f1fe57cd98ef0f45a25681b7a99dc3be0484 Fri Sep 29 09:51:44 CDT 2023 Kevin Wolf <kwolf@redhat.com> block: Mark bdrv_get_xdbg_block_graph() and callers GRAPH_RDLOCK

This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_get_xdbg_block_graph() need to hold a reader lock for the graph
because it accesses the children list of a node.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20230929145157.45443-10-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>