aboutsummaryrefslogtreecommitdiff
path: root/system/runstate.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-09-29 16:51:55 +0200
committerKevin Wolf <kwolf@redhat.com>2023-10-12 16:31:33 +0200
commitb59b466071391cb76b39584e1558be2d0797c054 (patch)
treee086d7ac7fdec76b82c386c6eb946b85cfa4ea55 /system/runstate.c
parent3574499a1e5e420c3e72d0e283cfb2b13bce672e (diff)
downloadqemu-b59b466071391cb76b39584e1558be2d0797c054.zip
qemu-b59b466071391cb76b39584e1558be2d0797c054.tar.gz
qemu-b59b466071391cb76b39584e1558be2d0797c054.tar.bz2
block: Protect bs->parents with graph_lock
Almost all functions that access the parent link already take the graph lock now. Add locking to the remaining user in a test case and finally annotate the struct field itself as protected by the graph lock. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20230929145157.45443-21-kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'system/runstate.c')
0 files changed, 0 insertions, 0 deletions