|
@@ -267,20 +267,6 @@ int bdrv_debug_remove_breakpoint(BlockDriverState *bs, const char *tag);
|
|
int bdrv_debug_resume(BlockDriverState *bs, const char *tag);
|
|
int bdrv_debug_resume(BlockDriverState *bs, const char *tag);
|
|
bool bdrv_debug_is_suspended(BlockDriverState *bs, const char *tag);
|
|
bool bdrv_debug_is_suspended(BlockDriverState *bs, const char *tag);
|
|
|
|
|
|
-/**
|
|
|
|
- * Locks the AioContext of @bs if it's not the current AioContext. This avoids
|
|
|
|
- * double locking which could lead to deadlocks: This is a coroutine_fn, so we
|
|
|
|
- * know we already own the lock of the current AioContext.
|
|
|
|
- *
|
|
|
|
- * May only be called in the main thread.
|
|
|
|
- */
|
|
|
|
-void coroutine_fn bdrv_co_lock(BlockDriverState *bs);
|
|
|
|
-
|
|
|
|
-/**
|
|
|
|
- * Unlocks the AioContext of @bs if it's not the current AioContext.
|
|
|
|
- */
|
|
|
|
-void coroutine_fn bdrv_co_unlock(BlockDriverState *bs);
|
|
|
|
-
|
|
|
|
bool bdrv_child_change_aio_context(BdrvChild *c, AioContext *ctx,
|
|
bool bdrv_child_change_aio_context(BdrvChild *c, AioContext *ctx,
|
|
GHashTable *visited, Transaction *tran,
|
|
GHashTable *visited, Transaction *tran,
|
|
Error **errp);
|
|
Error **errp);
|