Loading block.c +1 −1 Original line number Diff line number Diff line Loading @@ -471,7 +471,7 @@ int bdrv_create(BlockDriver *drv, const char* filename, co = qemu_coroutine_create(bdrv_create_co_entry); qemu_coroutine_enter(co, &cco); while (cco.ret == NOT_DONE) { qemu_aio_wait(); aio_poll(qemu_get_aio_context(), true); } } Loading blockjob.c +1 −1 Original line number Diff line number Diff line Loading @@ -187,7 +187,7 @@ int block_job_cancel_sync(BlockJob *job) job->opaque = &data; block_job_cancel(job); while (data.ret == -EINPROGRESS) { qemu_aio_wait(); aio_poll(bdrv_get_aio_context(bs), true); } return (data.cancelled && data.ret == 0) ? -ECANCELED : data.ret; } Loading qemu-io-cmds.c +2 −2 Original line number Diff line number Diff line Loading @@ -483,7 +483,7 @@ static int do_co_write_zeroes(BlockDriverState *bs, int64_t offset, int count, co = qemu_coroutine_create(co_write_zeroes_entry); qemu_coroutine_enter(co, &data); while (!data.done) { qemu_aio_wait(); aio_poll(bdrv_get_aio_context(bs), true); } if (data.ret < 0) { return data.ret; Loading Loading @@ -2027,7 +2027,7 @@ static const cmdinfo_t resume_cmd = { static int wait_break_f(BlockDriverState *bs, int argc, char **argv) { while (!bdrv_debug_is_suspended(bs, argv[1])) { qemu_aio_wait(); aio_poll(bdrv_get_aio_context(bs), true); } return 0; Loading Loading
block.c +1 −1 Original line number Diff line number Diff line Loading @@ -471,7 +471,7 @@ int bdrv_create(BlockDriver *drv, const char* filename, co = qemu_coroutine_create(bdrv_create_co_entry); qemu_coroutine_enter(co, &cco); while (cco.ret == NOT_DONE) { qemu_aio_wait(); aio_poll(qemu_get_aio_context(), true); } } Loading
blockjob.c +1 −1 Original line number Diff line number Diff line Loading @@ -187,7 +187,7 @@ int block_job_cancel_sync(BlockJob *job) job->opaque = &data; block_job_cancel(job); while (data.ret == -EINPROGRESS) { qemu_aio_wait(); aio_poll(bdrv_get_aio_context(bs), true); } return (data.cancelled && data.ret == 0) ? -ECANCELED : data.ret; } Loading
qemu-io-cmds.c +2 −2 Original line number Diff line number Diff line Loading @@ -483,7 +483,7 @@ static int do_co_write_zeroes(BlockDriverState *bs, int64_t offset, int count, co = qemu_coroutine_create(co_write_zeroes_entry); qemu_coroutine_enter(co, &data); while (!data.done) { qemu_aio_wait(); aio_poll(bdrv_get_aio_context(bs), true); } if (data.ret < 0) { return data.ret; Loading Loading @@ -2027,7 +2027,7 @@ static const cmdinfo_t resume_cmd = { static int wait_break_f(BlockDriverState *bs, int argc, char **argv) { while (!bdrv_debug_is_suspended(bs, argv[1])) { qemu_aio_wait(); aio_poll(bdrv_get_aio_context(bs), true); } return 0; Loading