qemu-img convert : use default cache=unsafe instead writeback

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier 2016-08-01 08:51:00 +02:00 committed by Wolfgang Bumiller
parent a2a5ffc928
commit eed2430325

View File

@ -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) {