]> Git Repo - qemu.git/blobdiff - block/backup.c
block/curl: HTTP header field names are case insensitive
[qemu.git] / block / backup.c
index cf62b1a38ceacaa6785f0ec0d1974fd11669016b..1383e219f5db9f6a833c5b3407ed1190b2ce2186 100644 (file)
@@ -135,8 +135,11 @@ static void backup_abort(Job *job)
 static void backup_clean(Job *job)
 {
     BackupBlockJob *s = container_of(job, BackupBlockJob, common.job);
+    AioContext *aio_context = bdrv_get_aio_context(s->backup_top);
 
+    aio_context_acquire(aio_context);
     bdrv_backup_top_drop(s->backup_top);
+    aio_context_release(aio_context);
 }
 
 void backup_do_checkpoint(BlockJob *job, Error **errp)
This page took 0.023278 seconds and 4 git commands to generate.