[pve-devel] r5697 - qemu-server/trunk
svn-commits at proxmox.com
svn-commits at proxmox.com
Tue Mar 15 06:37:08 CET 2011
Author: dietmar
Date: 2011-03-15 06:37:08 +0100 (Tue, 15 Mar 2011)
New Revision: 5697
Modified:
qemu-server/trunk/ChangeLog
qemu-server/trunk/Makefile
qemu-server/trunk/QemuServer.pm
qemu-server/trunk/changelog.Debian
Log:
Modified: qemu-server/trunk/ChangeLog
===================================================================
--- qemu-server/trunk/ChangeLog 2011-03-15 05:17:44 UTC (rev 5696)
+++ qemu-server/trunk/ChangeLog 2011-03-15 05:37:08 UTC (rev 5697)
@@ -1,3 +1,8 @@
+2011-03-15 Proxmox Support Team <support at proxmox.com>
+
+ * QemuServer.pm (print_drive_full): use 'cache=none' for raw
+ images and devices.
+
2011-03-04 Proxmox Support Team <support at proxmox.com>
* QemuServer.pm (config_to_command): use new "-device
Modified: qemu-server/trunk/Makefile
===================================================================
--- qemu-server/trunk/Makefile 2011-03-15 05:17:44 UTC (rev 5696)
+++ qemu-server/trunk/Makefile 2011-03-15 05:37:08 UTC (rev 5697)
@@ -1,8 +1,8 @@
-RELEASE=1.7
+RELEASE=1.8
VERSION=1.1
PACKAGE=qemu-server
-PKGREL=29
+PKGREL=30
DESTDIR=
PREFIX=/usr
Modified: qemu-server/trunk/QemuServer.pm
===================================================================
--- qemu-server/trunk/QemuServer.pm 2011-03-15 05:17:44 UTC (rev 5696)
+++ qemu-server/trunk/QemuServer.pm 2011-03-15 05:37:08 UTC (rev 5697)
@@ -587,6 +587,9 @@
} else {
$path = PVE::Storage::path ($self->{storecfg}, $volid);
}
+ if (!$drive->{cache} && ($path =~ m|^/dev/| || $path =~ m|\.raw$|)) {
+ $opts .= ",cache=none";
+ }
}
my $pathinfo = $path ? "file=$path," : '';
Modified: qemu-server/trunk/changelog.Debian
===================================================================
--- qemu-server/trunk/changelog.Debian 2011-03-15 05:17:44 UTC (rev 5696)
+++ qemu-server/trunk/changelog.Debian 2011-03-15 05:37:08 UTC (rev 5697)
@@ -1,3 +1,9 @@
+qemu-server (1.1-30) unstable; urgency=low
+
+ * use 'cache=none' for raw images and devices to improve performance.
+
+ -- Proxmox Support Team <support at proxmox.com> Tue, 15 Mar 2011 06:33:41 +0100
+
qemu-server (1.1-29) unstable; urgency=low
* fix pci device assignment for newer qemu
More information about the pve-devel
mailing list