]> git.proxmox.com Git - qemu-server.git/blobdiff - PVE/QemuServer.pm
increase start timeout when hugepages are enabled.
[qemu-server.git] / PVE / QemuServer.pm
index 3e3c93e2b4f236a81dd0e16f488ebbd3a41be9e7..1ca34563922c32fcd8294403c3220511b36e5784 100644 (file)
@@ -4688,7 +4688,8 @@ sub vm_start {
        my $cpuunits = defined($conf->{cpuunits}) ? $conf->{cpuunits}
                                                  : $defaults->{cpuunits};
 
-       my %run_params = (timeout => $statefile ? undef : 30, umask => 0077);
+       my $start_timeout = $conf->{hugepages} ? 300 : 30;
+       my %run_params = (timeout => $statefile ? undef : $start_timeout, umask => 0077);
 
        my %properties = (
            Slice => 'qemu.slice',