summary refs log tree commit diff stats
path: root/qemu-img.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-09-29 16:51:44 +0200
committerKevin Wolf <kwolf@redhat.com>2023-10-12 16:31:33 +0200
commit15f3f1fe57cd98ef0f45a25681b7a99dc3be0484 (patch)
treefcd6ab02f929bdd98648574a6f96c8ca0c62d6f9 /qemu-img.c
parentce433d2942b78d38d31bdb7845dbf565c9dc1109 (diff)
downloadfocaccia-qemu-15f3f1fe57cd98ef0f45a25681b7a99dc3be0484.tar.gz
focaccia-qemu-15f3f1fe57cd98ef0f45a25681b7a99dc3be0484.zip
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>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions