|
@@ -205,10 +205,11 @@ void *qemu_try_blockalign0(BlockDriverState *bs, size_t size);
|
|
void bdrv_enable_copy_on_read(BlockDriverState *bs);
|
|
void bdrv_enable_copy_on_read(BlockDriverState *bs);
|
|
void bdrv_disable_copy_on_read(BlockDriverState *bs);
|
|
void bdrv_disable_copy_on_read(BlockDriverState *bs);
|
|
|
|
|
|
-void coroutine_fn bdrv_co_debug_event(BlockDriverState *bs,
|
|
|
|
- BlkdebugEvent event);
|
|
|
|
-void co_wrapper_mixed bdrv_debug_event(BlockDriverState *bs,
|
|
|
|
- BlkdebugEvent event);
|
|
|
|
|
|
+void coroutine_fn GRAPH_RDLOCK
|
|
|
|
+bdrv_co_debug_event(BlockDriverState *bs, BlkdebugEvent event);
|
|
|
|
+
|
|
|
|
+void co_wrapper_mixed_bdrv_rdlock
|
|
|
|
+bdrv_debug_event(BlockDriverState *bs, BlkdebugEvent event);
|
|
|
|
|
|
#define BLKDBG_EVENT(child, evt) \
|
|
#define BLKDBG_EVENT(child, evt) \
|
|
do { \
|
|
do { \
|