]> git.proxmox.com Git - qemu-server.git/commit
migration: cleanup_remotedisks: simplify and include more disks
authorFabian Ebner <f.ebner@proxmox.com>
Fri, 29 Jan 2021 15:11:39 +0000 (16:11 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 18 Apr 2021 16:30:41 +0000 (18:30 +0200)
commiteb5751ba02c503d56bfe0881943ad0553f923ba4
tree3c8541652350fe6f043b9b6941ecb202513298b4
parentad8b9d5e2dfdc9f04c4f5a1aef3cee759804cddf
migration: cleanup_remotedisks: simplify and include more disks

Namely, those migrated with storage_migrate by using the information from
volume_map. Call cleanup_remotedisks in phase1_cleanup as well, because that's
where we end if sync_offline_local_volumes fails, and some disks might already
have been transfered successfully. Note that the local disks are still here, so
this is fine.

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