mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
blockjob: Remove BlockJob.bs
There is a single remaining user in qemu-img, and another one in a test case, both of which can be trivially converted to using BlockJob.blk instead. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
4653456a5f
commit
b75536c9fa
4 changed files with 3 additions and 4 deletions
|
@ -775,7 +775,7 @@ static void common_block_job_cb(void *opaque, int ret)
|
|||
|
||||
static void run_block_job(BlockJob *job, Error **errp)
|
||||
{
|
||||
AioContext *aio_context = bdrv_get_aio_context(job->bs);
|
||||
AioContext *aio_context = blk_get_aio_context(job->blk);
|
||||
|
||||
do {
|
||||
aio_poll(aio_context, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue