aboutsummaryrefslogtreecommitdiff
path: root/python/qemu/qmp/models.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-05-10 22:35:58 +0200
committerKevin Wolf <kwolf@redhat.com>2023-05-19 19:12:12 +0200
commit87f130bdaad68baad4216dbc97dec73ab4a2c4ef (patch)
treee88e3de1b4cce557737accbc10c3c93ce21c84c3 /python/qemu/qmp/models.py
parent3db0c8b25c452b53aabc8efa36e655c7c02abb8f (diff)
downloadqemu-87f130bdaad68baad4216dbc97dec73ab4a2c4ef.zip
qemu-87f130bdaad68baad4216dbc97dec73ab4a2c4ef.tar.gz
qemu-87f130bdaad68baad4216dbc97dec73ab4a2c4ef.tar.bz2
test-bdrv-drain: Take graph lock more selectively
If we take a reader lock, we can't call any functions that take a writer lock internally without causing deadlocks once the reader lock is actually enforced in the main thread, too. Take the reader lock only where it is actually needed. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20230510203601.418015-6-kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'python/qemu/qmp/models.py')
0 files changed, 0 insertions, 0 deletions