]> git.proxmox.com Git - qemu-server.git/commitdiff
add correct comment about savevm-start
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 19 Mar 2019 08:17:29 +0000 (09:17 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 19 Mar 2019 08:26:56 +0000 (09:26 +0100)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/QemuConfig.pm

index b2d4e4544150949430db8379fe8ec329aa11fe86..8fae4fc6f2dd07531b43a738a44af136a3a05cde 100644 (file)
@@ -138,6 +138,10 @@ sub __snapshot_save_vmstate {
     }
 
     my $driver_state_size = 500; # assume 500MB is enough to safe all driver state;
+    # our savevm-start does live-save of the memory until the space left in the
+    # volume is just enough for the remaining memory content + internal state
+    # then it stops the vm and copies the rest so we reserve twice the
+    # memory content + state to minimize vm downtime
     my $size = $conf->{memory}*2 + $driver_state_size;
     my $scfg = PVE::Storage::storage_config($storecfg, $target);