]> git.proxmox.com Git - qemu-server.git/commitdiff
restore vma: add comment describing timeout
authorFiona Ebner <f.ebner@proxmox.com>
Tue, 12 Sep 2023 09:16:16 +0000 (11:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 15 Sep 2023 14:27:44 +0000 (16:27 +0200)
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
PVE/QemuServer.pm

index 052835624c48c522f4cbe3e1dca70bc0140c97e5..f7ee7686eb5ab5e53b395bdc560fb4c665f8357a 100644 (file)
@@ -7367,7 +7367,7 @@ sub restore_vma_archive {
     $add_pipe->(['vma', 'extract', '-v', '-r', $mapfifo, $readfrom, $tmpdir]);
 
     my $oldtimeout;
-    my $timeout = 5;
+    my $timeout = 5; # for reading the VMA header - might hang with a corrupted one
 
     my $devinfo = {}; # info about drives included in backup
     my $virtdev_hash = {}; # info about allocated drives