dualfroz fed54ce52a fix #4012: migrate: mention snapshots referencing a local ISO image
When a VM has no local ISO image attached anymore, but one of its
snapshots still references it, migration fails with:

  can't migrate local disk 'local:iso/debian.iso': local cdrom image

which does not tell where the image is coming from, since it is not
visible in the current configuration of the VM.

Add the names of the snapshots referencing the image to the error in
that case, like it is already done for a physical CD/DVD drive. The
check for the physical drive now reuses the same hint.

Signed-off-by: Michal Fox <me@dualfroz.com>
2026-10-03 01:44:51 +02:00
S
Description
My contributions to proxmox-git/qemu-server: 12 commits
166 KiB
0 Stars 1 Watchers 0 Forks
Languages
Perl 99.6%
Batchfile 0.4%