+15
−0
Loading
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> (cherry picked from commit 944f3d5d) Signed-off-by:
Michael Roth <mdroth@linux.vnet.ibm.com>