]> git.proxmox.com Git - pve-qemu.git/commit
QMP backup: use correct errno when getting blockdrive length fails
authorFiona Ebner <f.ebner@proxmox.com>
Mon, 30 Jan 2023 10:20:42 +0000 (11:20 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Feb 2023 08:19:16 +0000 (09:19 +0100)
commit1688b43738290270684907f8cd9e39a5ff179ed6
treeef44ef8549e7d60b1e99513e4ab591bd9fe5a861
parenteee064d954a8383b88f35c5cd0101daa910efcd7
QMP backup: use correct errno when getting blockdrive length fails

di->size would only be set later. The errno is minus the return value
from the function.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
debian/patches/pve/0029-PVE-Backup-proxmox-backup-patches-for-qemu.patch
debian/patches/pve/0043-PVE-Use-coroutine-QMP-for-backup-cancel_backup.patch