5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-03-10 12:58:25 +03:00

add correct comment about savevm-start

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2019-03-19 09:17:29 +01:00 committed by Thomas Lamprecht
parent 48b4cdc210
commit b3983fa1dc

View 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);