]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer.pm
fix #3886: QEMU restore: verify storage allows images before writing
authorMatthias Heiserer <m.heiserer@proxmox.com>
Thu, 24 Feb 2022 10:45:59 +0000 (11:45 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 24 Feb 2022 12:19:49 +0000 (13:19 +0100)
commit62af60cd3d21f11989821094a255f5909b7e165d
treea3935a361cad4abb50d981b791f8aacfd241d607
parent5f5aba2578e117247ec8ae5fcd925d3e19cba5c0
fix #3886: QEMU restore: verify storage allows images before writing

When restoring a backup and the storage the disks would be created on
doesn't allow 'images', the process errors without cleanup.
This is the same behaviour we currently have when the storage is
disabled.

Signed-off-by: Matthias Heiserer <m.heiserer@proxmox.com>
Reviewed-by: Fabian Ebner <f.ebner@proxmox.com>
Tested-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/QemuServer.pm