do not set cache=none for .raw files

use qemu default instead (writeback)
This commit is contained in:
Dietmar Maurer 2013-02-14 08:19:39 +01:00
parent 0302101cf1
commit ef1c835d19
2 changed files with 5 additions and 4 deletions

View File

@ -1104,9 +1104,6 @@ sub print_drive_full {
} else {
$path = PVE::Storage::path($storecfg, $volid);
}
if (!$drive->{cache} && ($path =~ m|^/dev/| || $path =~ m|\.raw$|)) {
$opts .= ",cache=none";
}
}
my $pathinfo = $path ? "file=$path," : '';

View File

@ -5,8 +5,12 @@ qemu-server (2.3-9) unstable; urgency=low
* qemu 1.4 fix : rename stats-polling-interval to
guest-stats-polling-interval
* remove expected_downtime from migration status (not set in qemu 1.4, always 0)
* remove expected_downtime from migration status (not set in qemu 1.4,
always 0)
* do not set cache=none for .raw files - use qemu default instead
(writeback)
-- Proxmox Support Team <support@proxmox.com> Wed, 13 Feb 2013 10:38:13 +0100
qemu-server (2.3-8) unstable; urgency=low