]> Git Repo - qemu.git/blobdiff - block/backup.c
Replication/Blockjobs: Create replication jobs as internal
[qemu.git] / block / backup.c
index 3877d93da68176b65b964a59f04b687dc97c9a31..2a369e6aff8915706de220dafbe78be3b13fb08c 100644 (file)
@@ -543,6 +543,7 @@ void backup_start(const char *job_id, BlockDriverState *bs,
                   bool compress,
                   BlockdevOnError on_source_error,
                   BlockdevOnError on_target_error,
+                  int creation_flags,
                   BlockCompletionFunc *cb, void *opaque,
                   BlockJobTxn *txn, Error **errp)
 {
@@ -612,7 +613,7 @@ void backup_start(const char *job_id, BlockDriverState *bs,
     }
 
     job = block_job_create(job_id, &backup_job_driver, bs, speed,
-                           BLOCK_JOB_DEFAULT, cb, opaque, errp);
+                           creation_flags, cb, opaque, errp);
     if (!job) {
         goto error;
     }
This page took 0.027624 seconds and 4 git commands to generate.