[pve-devel] [PATCH] don't set timeout when loading vmstate
Alexandre Derumier
aderumier at odiso.com
Thu Sep 20 09:06:13 CEST 2012
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
More information about the pve-devel
mailing list