mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-01 23:20:06 +00:00
increase timeout when resuming suspended VM
when the state is on a slow storage, it can take a while to load it Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
b0a9a38568
commit
ccb2e2eaeb
@ -5319,7 +5319,7 @@ sub vm_start {
|
||||
my $cpuunits = defined($conf->{cpuunits}) ? $conf->{cpuunits}
|
||||
: $defaults->{cpuunits};
|
||||
|
||||
my $start_timeout = $conf->{hugepages} ? 300 : 30;
|
||||
my $start_timeout = ($conf->{hugepages} || $is_suspended) ? 300 : 30;
|
||||
my %run_params = (timeout => $statefile ? undef : $start_timeout, umask => 0077);
|
||||
|
||||
my %properties = (
|
||||
|
Loading…
Reference in New Issue
Block a user