diff options
Diffstat (limited to 'block/backup.c')
-rw-r--r-- | block/backup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/block/backup.c b/block/backup.c index 4ed449448a..ae1b99aa84 100644 --- a/block/backup.c +++ b/block/backup.c @@ -654,9 +654,8 @@ void backup_start(const char *job_id, BlockDriverState *bs, block_job_add_bdrv(&job->common, target); job->common.len = len; - job->common.co = qemu_coroutine_create(job->common.driver->start, job); block_job_txn_add_job(txn, &job->common); - qemu_coroutine_enter(job->common.co); + block_job_start(&job->common); return; error: |