[fedora-virt-maint] rpms/qemu/devel qemu-disable-preadv-support.patch, NONE, 1.1 qemu.spec, 1.147, 1.148

Mark McLoughlin markmc at fedoraproject.org
Wed Nov 4 17:36:09 UTC 2009


Author: markmc

Update of /cvs/pkgs/rpms/qemu/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv670

Modified Files:
	qemu.spec 
Added Files:
	qemu-disable-preadv-support.patch 
Log Message:
* Wed Nov  4 2009 Mark McLoughlin <markmc at redhat.com> - 2:0.11.0-11
- Temporarily disable preadv/pwritev support to fix data corruption (#526549)


qemu-disable-preadv-support.patch:
 posix-aio-compat.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- NEW FILE qemu-disable-preadv-support.patch ---
>From ef41d27fae62bbb71f3af60488b455582ee92625 Mon Sep 17 00:00:00 2001
From: Mark McLoughlin <markmc at redhat.com>
Date: Wed, 4 Nov 2009 12:29:35 -0500
Subject: [PATCH] Disable preadv/pwritev support

Workaround for a data corruptor issue on 32 bit hosts:

  https://bugzilla.redhat.com/526549

Signed-off-by: Mark McLoughlin <markmc at redhat.com>
Fedora-patch: qemu-disable-preadv-support.patch
---
 posix-aio-compat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/posix-aio-compat.c b/posix-aio-compat.c
index e9fc9fa..b116933 100644
--- a/posix-aio-compat.c
+++ b/posix-aio-compat.c
@@ -34,7 +34,7 @@ static int idle_threads = 0;
 static TAILQ_HEAD(, qemu_paiocb) request_list;
 
 #ifdef HAVE_PREADV
-static int preadv_present = 1;
+static int preadv_present = 0;
 #else
 static int preadv_present = 0;
 #endif
-- 
1.6.2.5



Index: qemu.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qemu/devel/qemu.spec,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -p -r1.147 -r1.148
--- qemu.spec	3 Nov 2009 15:12:29 -0000	1.147
+++ qemu.spec	4 Nov 2009 17:36:09 -0000	1.148
@@ -1,7 +1,7 @@
 Summary: QEMU is a FAST! processor emulator
 Name: qemu
 Version: 0.11.0
-Release: 10%{?dist}
+Release: 11%{?dist}
 # Epoch because we pushed a qemu-1.0 package
 Epoch: 2
 License: GPLv2+ and LGPLv2+ and BSD
@@ -58,6 +58,9 @@ Patch11: qemu-properly-save-kvm-system-t
 # Fix dropped packets with non-virtio NICs (#531419)
 Patch12: qemu-fix-dropped-packets-with-non-virtio-nics.patch
 
+# Temporarily disable preadv/pwritev support (#526549)
+Patch13: qemu-disable-preadv-support.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: SDL-devel zlib-devel which texi2html gnutls-devel cyrus-sasl-devel
 BuildRequires: rsync dev86 iasl
@@ -257,6 +260,7 @@ such as kvmtrace and kvm_stat.
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
+%patch13 -p1
 
 %build
 # --build-id option is used fedora 8 onwards for giving info to the debug packages.
@@ -538,6 +542,9 @@ fi
 %{_mandir}/man1/qemu-img.1*
 
 %changelog
+* Wed Nov  4 2009 Mark McLoughlin <markmc at redhat.com> - 2:0.11.0-11
+- Temporarily disable preadv/pwritev support to fix data corruption (#526549)
+
 * Tue Nov  3 2009 Justin M. Forbes <jforbes at redhat.com> - 2:0.11.0-10
 - Default ksm and ksmtuned services on.
 




More information about the Fedora-virt-maint mailing list