Kevin Wolf 1b7f01d966 coroutine: Assert that no locks are held on termination
A coroutine that takes a lock must also release it again. If the
coroutine terminates without having released all its locks, it's buggy
and we'll probably run into a deadlock sooner or later. Make sure that
we don't get such cases.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
2016-09-05 19:06:48 +02:00
..
2016-07-04 13:15:22 +01:00
2016-02-23 12:43:05 +00:00
2016-06-07 18:19:23 +03:00
2016-02-23 12:43:05 +00:00
2016-02-23 12:43:05 +00:00
2016-06-16 18:39:03 +02:00
2016-06-07 18:19:24 +03:00
2014-03-13 14:42:21 +01:00
2016-08-02 12:03:58 +02:00
2016-02-23 12:43:05 +00:00
2016-02-23 12:43:05 +00:00
2016-02-23 12:43:05 +00:00