summaryrefslogtreecommitdiffstats
path: root/block/qcow2.c
diff options
context:
space:
mode:
authorKevin Wolf2019-10-24 16:26:57 +0200
committerKevin Wolf2019-10-25 15:18:38 +0200
commit944f3d5dd216fcd8cb007eddd4f82dced0a15b3d (patch)
treed8befdc71c3b232d96476c60dd9ec2468dbc2b9d /block/qcow2.c
parentdoc: Describe missing generic -blockdev options (diff)
downloadqemu-944f3d5dd216fcd8cb007eddd4f82dced0a15b3d.tar.gz
qemu-944f3d5dd216fcd8cb007eddd4f82dced0a15b3d.tar.xz
qemu-944f3d5dd216fcd8cb007eddd4f82dced0a15b3d.zip
coroutine: Add qemu_co_mutex_assert_locked()
Some functions require that the caller holds a certain CoMutex for them to operate correctly. Add a function so that they can assert the lock is really held. Cc: qemu-stable@nongnu.org Signed-off-by: Kevin Wolf <kwolf@redhat.com> Tested-by: Michael Weiser <michael.weiser@gmx.de> Reviewed-by: Michael Weiser <michael.weiser@gmx.de> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Denis V. Lunev <den@openvz.org> Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/qcow2.c')
0 files changed, 0 insertions, 0 deletions