diff options
Diffstat (limited to 'include/block/block-io.h')
-rw-r--r-- | include/block/block-io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/block/block-io.h b/include/block/block-io.h index 2cbdfb92c9..5e3f346806 100644 --- a/include/block/block-io.h +++ b/include/block/block-io.h @@ -264,6 +264,7 @@ void bdrv_drained_end_no_poll(BlockDriverState *bs, int *drained_end_counter); #define BDRV_POLL_WHILE(bs, cond) ({ \ BlockDriverState *bs_ = (bs); \ + IO_OR_GS_CODE(); \ AIO_WAIT_WHILE(bdrv_get_aio_context(bs_), \ cond); }) |