]> git.proxmox.com Git - pve-qemu.git/blobdiff - debian/patches/pve/0032-PVE-Add-PBS-block-driver-to-map-backup-archives-into.patch
pbs block driver: run read in the AIO context of the bs
[pve-qemu.git] / debian / patches / pve / 0032-PVE-Add-PBS-block-driver-to-map-backup-archives-into.patch
index 4c31eaa07145922f03a3529494d3d7d3c04cfb9d..9c7c66e5f9c7002d5ef9b1ea84dc39708613f845 100644 (file)
@@ -241,7 +241,7 @@ index 0000000000..1481a2bfd1
 +
 +    ReadCallbackData rcb = {
 +        .co = qemu_coroutine_self(),
-+        .ctx = qemu_get_current_aio_context(),
++        .ctx = bdrv_get_aio_context(bs),
 +    };
 +
 +    proxmox_restore_read_image_at_async(s->conn, s->aid, buf, offset, bytes,