]>
git.proxmox.com Git - qemu-server.git/commitdiff
projects
/
qemu-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c893f57
)
correct comment about size
author
Dominik Csapak
<d.csapak@proxmox.com>
Thu, 14 Mar 2019 16:04:46 +0000
(17:04 +0100)
committer
Thomas 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
patch
|
blob
|
blame
|
history
diff --git
a/PVE/QemuConfig.pm
b/PVE/QemuConfig.pm
index 6ba0cc3d1773fb047ddcdd2a22001f020ab7d0ad..61a018e2222f1e0179b753afd06ffe2bf1af4d9f 100644
(file)
--- 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";