[pve-devel] [PATCH qemu-server] Fix #1242 : clone_disk : call qga fstrim after clone
Alexandre DERUMIER
aderumier at odiso.com
Mon May 28 20:50:30 CEST 2018
>>And we really want to ignore error messages?
I think yes, it's best effort. This don't break migration/mirroring.
----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>, "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 28 Mai 2018 19:29:36
Objet: Re: [pve-devel] [PATCH qemu-server] Fix #1242 : clone_disk : call qga fstrim after clone
And we really want to ignore error messages?
> + if ($running && $conf->{agent} &&
> PVE::QemuServer::qga_check_running($vmid)) {
> + eval { PVE::QemuServer::vm_mon_cmd($vmid, "guest-fstrim"); };
> + }
> +
More information about the pve-devel
mailing list