aboutsummaryrefslogtreecommitdiff
path: root/cpu-common.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-10-27 17:53:26 +0200
committerKevin Wolf <kwolf@redhat.com>2023-11-08 17:56:17 +0100
commit004915a96a7a40e942ac85e6d22518cbcd283506 (patch)
treef664b5576e09107b86228b8b6fa340f74c907677 /cpu-common.c
parentccd6a37947574707613e826e2bf04d55f1d5f238 (diff)
downloadqemu-004915a96a7a40e942ac85e6d22518cbcd283506.zip
qemu-004915a96a7a40e942ac85e6d22518cbcd283506.tar.gz
qemu-004915a96a7a40e942ac85e6d22518cbcd283506.tar.bz2
block: Protect bs->backing with graph_lock
Almost all functions that access bs->backing already take the graph lock now. Add locking to the remaining users and finally annotate the struct field itself as protected by the graph lock. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20231027155333.420094-18-kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'cpu-common.c')
0 files changed, 0 insertions, 0 deletions