]> git.proxmox.com Git - qemu-server.git/commit
Fix #1242 : clone_disk : call qga fstrim after clone
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 1 Aug 2018 18:29:05 +0000 (20:29 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 2 Aug 2018 09:35:50 +0000 (11:35 +0200)
commitca6621315ebb908a713fcf7661991aa4cfbd9e05
tree4bfd84f17c5e6892241a5203a20091e0ae0a2633
parent9d66b39769801e78510dbd4615088cb4f6d61636
Fix #1242 : clone_disk : call qga fstrim after clone

Some storage like rbd or lvm can't keep thin-provising after a qemu-mirror.

Call qga guest-fstrim if qga is available and fstrim_cloned_disks is enabled
after move_disk and migrate.

Co-Authored-By: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
PVE/API2/Qemu.pm
PVE/QemuMigrate.pm