diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2019-10-24 16:26:57 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2019-10-25 15:18:38 +0200 |
| commit | 944f3d5dd216fcd8cb007eddd4f82dced0a15b3d (patch) | |
| tree | d8befdc71c3b232d96476c60dd9ec2468dbc2b9d /hw/intc/apic.c | |
| parent | c9b749d7bcaf035de4dc32cd6225a2ff51200d7b (diff) | |
| download | focaccia-qemu-944f3d5dd216fcd8cb007eddd4f82dced0a15b3d.tar.gz focaccia-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 'hw/intc/apic.c')
0 files changed, 0 insertions, 0 deletions