[pve-devel] [PATCH qemu-server v3 1/5] correct comment about size
Dominik Csapak
d.csapak at proxmox.com
Thu Mar 14 17:04:46 CET 2019
and remove comment that makes no sense
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
PVE/QemuConfig.pm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/PVE/QemuConfig.pm b/PVE/QemuConfig.pm
index 6ba0cc3..61a018e 100644
--- a/PVE/QemuConfig.pm
+++ b/PVE/QemuConfig.pm
@@ -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";
--
2.11.0
More information about the pve-devel
mailing list