[pve-devel] [PATCH] don't set timeout when loading vmstate
Dietmar Maurer
dietmar at proxmox.com
Thu Sep 20 10:05:01 CEST 2012
that is already in git
> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of Alexandre Derumier
> Sent: Donnerstag, 20. September 2012 09:06
> To: pve-devel at pve.proxmox.com
> Subject: [pve-devel] [PATCH] don't set timeout when loading vmstate
>
> vmstate loading can take time. (rbd take more than 30s for a 2gb memory
> vmstate)
>
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
> PVE/QemuServer.pm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index
> 2168468..a45052f 100644
> --- a/PVE/QemuServer.pm
> +++ b/PVE/QemuServer.pm
> @@ -2882,7 +2882,7 @@ sub vm_start {
>
> PVE::Storage::activate_volumes($storecfg, $vollist);
>
> - eval { run_command($cmd, timeout => $migrate_port ? undef : 30);
> };
> + eval { run_command($cmd, timeout => $statefile ? undef : 30); };
> my $err = $@;
> die "start failed: $err" if $err;
>
> --
> 1.7.10
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list