aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-09-11 11:46:14 +0200
committerKevin Wolf <kwolf@redhat.com>2023-09-20 17:46:01 +0200
commitc629b6d22349c83ca262d1887c0920e87ec0bfdb (patch)
treed01ba675a1fc176525163176d368f5f37fd0a3fb /scripts/qapi/source.py
parentblock: Mark bdrv_get_cumulative_perm() and callers GRAPH_RDLOCK (diff)
downloadqemu-c629b6d22349c83ca262d1887c0920e87ec0bfdb.tar.xz
qemu-c629b6d22349c83ca262d1887c0920e87ec0bfdb.zip
block: Mark bdrv_child_perm() GRAPH_RDLOCK
This adds GRAPH_RDLOCK annotations to declare that callers of bdrv_child_perm() need to hold a reader lock for the graph because some implementations access the children list of a node. The callers of bdrv_child_perm() conveniently already hold the lock. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-ID: <20230911094620.45040-16-kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions