On 20.01.21 13:32, Dominik Csapak wrote:
> by checking if the vm is paused at the beginning and skipping the resume
> now we also skip the qga freeze/thaw (which cannot work if the vm is
> paused)
> 
> moved the 'vm_is_paused' sub from the api to PVE/QemuServer.pm so it is
> available everywhere we need it.
> 
> since a suspend backup would pause the vm anyway, we can skip that step
> also
> 
> Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
> ---
> changes to v2:
> * actually include code changes (git add is not optional), sry for the noise
> 
>  PVE/API2/Qemu.pm         | 14 ++------------
>  PVE/QemuServer.pm        | 10 ++++++++++
>  PVE/VZDump/QemuServer.pm | 11 +++++++++--
>  3 files changed, 21 insertions(+), 14 deletions(-)
> 
>

applied, with Fabi's T-b, thanks!

Not sure if it'd be really worth it to do the backup-init lock proposed in
a thread reply here though..


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to