Message ID | 1423969591-23646-2-git-send-email-famz@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/include/block/block.h b/include/block/block.h index 321295e..4fce25d 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -546,8 +546,7 @@ AioContext *bdrv_get_aio_context(BlockDriverState *bs); * Changes the #AioContext used for fd handlers, timers, and BHs by this * BlockDriverState and all its children. * - * This function must be called from the old #AioContext or with a lock held so - * the old #AioContext is not executing. + * This function must be called with iothread lock held. */ void bdrv_set_aio_context(BlockDriverState *bs, AioContext *new_context);