[pve-devel] [PATCH qemu-server v2 2/6] correct comment about size

Dominik Csapak d.csapak at proxmox.com
Wed Mar 13 09:55:00 CET 2019


and remove comment that makes no sense

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/QemuServer.pm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 1d1b687..02bb798 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -7123,8 +7123,7 @@ sub prepare_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";
-- 
2.11.0





More information about the pve-devel mailing list