]> git.proxmox.com Git - qemu-server.git/commit
migrate: enforce that image content type is available
authorFabian Ebner <f.ebner@proxmox.com>
Fri, 18 Jun 2021 10:59:34 +0000 (12:59 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Jun 2021 09:17:48 +0000 (11:17 +0200)
commit24b84b476675e09e3c0952639d2e04a047b428eb
treea41cb8e5ca37a4fcb2220fd63bcb6adac0219076
parent0d2db084140cbbf4792efec1c96186eb8a622d0e
migrate: enforce that image content type is available

and use it for the vdisk_list call too. This avoids scanning (and picking up
volumes from!) storages that are not even configured to hold images.

Previously, the content type was only enforced when a storage map was present.

Also serves a bit as a preparation to enforce content type on guest startup,
because now migration failure happens early and not only when trying to start
the guest on the remote node.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/QemuMigrate.pm
PVE/QemuServer.pm