X-Git-Url: https://git.proxmox.com/?p=pve-qemu.git;a=blobdiff_plain;f=debian%2Fpatches%2Fpve%2F0028-adding-old-vma-files.patch;fp=debian%2Fpatches%2Fpve%2F0028-adding-old-vma-files.patch;h=85927a32914c13ee5576ecca52bc0e53ce2f8f46;hp=5e87ed754cbb176d44bcbf6b0677bdb5b1cdad58;hb=027092309eaa5533224ae02f57fc12d75671e676;hpb=ab8770fa3825455b334bd8bcf6aebd1e834168cb diff --git a/debian/patches/pve/0028-adding-old-vma-files.patch b/debian/patches/pve/0028-adding-old-vma-files.patch index 5e87ed7..85927a3 100644 --- a/debian/patches/pve/0028-adding-old-vma-files.patch +++ b/debian/patches/pve/0028-adding-old-vma-files.patch @@ -105,7 +105,17 @@ index 1ede70c061..51b5ba6eda 100644 assert(s->target); blk_unref(s->target); s->target = NULL; -@@ -330,9 +344,11 @@ static BlockErrorAction backup_error_action(BackupBlockJob *job, +@@ -255,7 +269,8 @@ static void backup_attached_aio_context(BlockJob *job, AioContext *aio_context) + { + BackupBlockJob *s = container_of(job, BackupBlockJob, common); + +- blk_set_aio_context(s->target, aio_context); ++ if (s->target) ++ blk_set_aio_context(s->target, aio_context); + } + + void backup_do_checkpoint(BlockJob *job, Error **errp) +@@ -330,9 +345,11 @@ static BlockErrorAction backup_error_action(BackupBlockJob *job, if (read) { return block_job_error_action(&job->common, job->on_source_error, true, error);