diff options
author | Kevin Wolf | 2019-10-24 16:26:57 +0200 |
---|---|---|
committer | Kevin Wolf | 2019-10-25 15:18:38 +0200 |
commit | 944f3d5dd216fcd8cb007eddd4f82dced0a15b3d (patch) | |
tree | d8befdc71c3b232d96476c60dd9ec2468dbc2b9d /block/qcow2.c | |
parent | doc: Describe missing generic -blockdev options (diff) | |
download | qemu-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