diff options
author | Kevin Wolf <kwolf@redhat.com> | 2023-09-29 16:51:43 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-10-12 16:31:33 +0200 |
commit | ce433d2942b78d38d31bdb7845dbf565c9dc1109 (patch) | |
tree | 07ea69f416e58ff03cba02a27a7765f296070745 /docs/sphinx | |
parent | a32e781838e7231f2239bde0ac2f105dc7072abb (diff) | |
download | qemu-ce433d2942b78d38d31bdb7845dbf565c9dc1109.zip qemu-ce433d2942b78d38d31bdb7845dbf565c9dc1109.tar.gz qemu-ce433d2942b78d38d31bdb7845dbf565c9dc1109.tar.bz2 |
block: Take graph rdlock in parts of reopen
Reopen isn't easy with respect to locking because many of its functions
need to iterate the graph, some change it, and then you get some drains
in the middle where you can't hold any locks.
Therefore just documents most of the functions to be unlocked, and take
locks internally before accessing the graph.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20230929145157.45443-9-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'docs/sphinx')
0 files changed, 0 insertions, 0 deletions