]> git.proxmox.com Git - qemu-server.git/commitdiff
correct comment about size
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 14 Mar 2019 16:04:46 +0000 (17:04 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 19 Mar 2019 07:53:14 +0000 (08:53 +0100)
and remove comment that makes no sense

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/QemuConfig.pm

index 6ba0cc3d1773fb047ddcdd2a22001f020ab7d0ad..61a018e2222f1e0179b753afd06ffe2bf1af4d9f 100644 (file)
@@ -138,8 +138,7 @@ sub __snapshot_save_vmstate {
        $target = $shared // $local // 'local';
     }
 
-    my $driver_state_size = 500; # assume 32MB is enough to safe all driver state;
-    # we abort live save after $conf->{memory}, so we need at max twice that space
+    my $driver_state_size = 500; # assume 500MB is enough to safe all driver state;
     my $size = $conf->{memory}*2 + $driver_state_size;
 
     my $name = "vm-$vmid-state-$snapname";