> > do you think image = size of memory if enough ? (if we have some bytes > > more with incremental ?) > > PVE/QemuServer.pm: > > my $driver_state_size = 32; # assume 32MB is enough to safe all driver > state; > my $size = $conf->{memory} + $driver_state_size;
Unfortunately, the qemu code seem to report wrong values for 'remaining' bytes. So I had to increase allocated space to: my $size = $conf->{memory}*2 + $driver_state_size; Note: we truncate the file after save if possible. - Dietmar _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel