[pve-devel] [PATCH] don't set timeout when loading vmstate

Alexandre DERUMIER aderumier at odiso.com
Thu Sep 20 11:01:42 CEST 2012


I didn't see it ;)

so qcow2 and rbd seem to works fine.

I have problems with current sheepdog git, so I can't test it.
I'll rebuild my nexenta test box this afternoon.

----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre Derumier" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Jeudi 20 Septembre 2012 10:05:01 
Objet: RE: [pve-devel] [PATCH] don't set timeout when loading vmstate 

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