5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-01-25 06:03:52 +03:00

restore: pass format to vma extract

This silences the "probing guessed raw" warnings of
'qmrestore'.
This commit is contained in:
Wolfgang Bumiller 2016-04-28 16:11:44 +02:00 committed by Dietmar Maurer
parent 3f565071e5
commit 3c525055dd

View File

@ -5576,7 +5576,7 @@ sub restore_vma_archive {
$write_zeros = 0;
}
print $fifofh "${write_zeros}:$d->{devname}=$path\n";
print $fifofh "format=$d->{format}:${write_zeros}:$d->{devname}=$path\n";
print "map '$d->{devname}' to '$path' (write zeros = ${write_zeros})\n";
$map->{$virtdev} = $volid;