]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer.pm
update disk size before local disk migration
authorStefan Reiter <s.reiter@proxmox.com>
Mon, 9 Dec 2019 13:08:09 +0000 (14:08 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 11 Dec 2019 09:42:56 +0000 (10:42 +0100)
commit68b108ee3a83c8dd2a80fc5b34578147128da85c
tree8f1684146937e122f1c81952b9fa440d48ce5eee
parent5661a68106e6b0744b5d7262783db8e001aa2b7e
update disk size before local disk migration

Split out 'update_disksize' from the renamed 'update_disk_config' to
allow code reuse in QemuMigrate.

Remove dots after messages to keep style consistent for migration log.

After updating in sync_disks (phase1) of migration, write out updated
config. This means that even if migration fails or is aborted in later
stages, we keep the fixed config - this is not an issue, as it would
have been fixed on the next attempt anyway, and it can't hurt to have
the correct size instead of a wrong one either way.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
PVE/QemuMigrate.pm
PVE/QemuServer.pm