+qemu-server (2.0-67) unstable; urgency=low
+
+ * fix allocation size in qmrestore
+
+ -- Proxmox Support Team <support@proxmox.com> Sat, 03 Nov 2012 07:54:06 +0100
+
qemu-server (2.0-66) unstable; urgency=low
* vzdump: restore sata drives correctly
my $cfg = cfs_read_file('storage.cfg');
my $scfg = PVE::Storage::storage_config($cfg, $storeid);
- my $alloc_size = ($filesize + 1024 - 1)/1024;
+ my $alloc_size = int(($filesize + 1024 - 1)/1024);
if ($scfg->{type} eq 'dir' || $scfg->{type} eq 'nfs') {
# hack: we just alloc a small file (32K) - we overwrite it anyways
$alloc_size = 32;