mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-07-27 03:43:59 +00:00
![]() Since we don't scan all storages for matching disk images anymore for a migration we don't have any images found via storage alone. They will be referenced in the config somewhere. Therefore, there is no need for the 'storage' ref. The 'referenced_in_config' is not really needed and can apply to both, attached and unused disk images. Therefore the QemuServer::foreach_volid() will change the 'referenced_in_config' attribute to an 'is_attached' one that only applies to disk images that are in the _main_ config part and are not unused. In QemuMigrate::scan_local_volumes() we can then quite easily map the refs to each state, attached, unused, referenced_in_{pending,snapshot}. The refs are mostly used for informational use to print out in the logs why a disk image is part of the migration. Except for the 'attached' case. In the future the extra step of the refs in QemuMigrate could probably be streamlined even more. Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com> |
||
---|---|---|
.. | ||
API2 | ||
CLI | ||
QemuServer | ||
VZDump | ||
Makefile | ||
QemuConfig.pm | ||
QemuMigrate.pm | ||
QemuServer.pm | ||
QMPClient.pm |