mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-07-09 03:31:02 +00:00
qemu-img convert : use default cache=unsafe instead writeback
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
a2a5ffc928
commit
eed2430325
@ -5605,7 +5605,7 @@ sub qemu_img_convert {
|
||||
my $dst_path = PVE::Storage::path($storecfg, $dst_volid);
|
||||
|
||||
my $cmd = [];
|
||||
push @$cmd, '/usr/bin/qemu-img', 'convert', '-t', 'writeback', '-p', '-n';
|
||||
push @$cmd, '/usr/bin/qemu-img', 'convert', '-p', '-n';
|
||||
push @$cmd, '-s', $snapname if($snapname && $src_format eq "qcow2");
|
||||
push @$cmd, '-f', $src_format, '-O', $dst_format, $src_path;
|
||||
if ($is_zero_initialized) {
|
||||
|
Loading…
Reference in New Issue
Block a user