Blame qemu-disable-preadv-support.patch

Mark McLoughlin 0bb0ad
From ef41d27fae62bbb71f3af60488b455582ee92625 Mon Sep 17 00:00:00 2001
Mark McLoughlin 0bb0ad
From: Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin 0bb0ad
Date: Wed, 4 Nov 2009 12:29:35 -0500
Mark McLoughlin 0bb0ad
Subject: [PATCH] Disable preadv/pwritev support
Mark McLoughlin 0bb0ad
Mark McLoughlin 0bb0ad
Workaround for a data corruptor issue on 32 bit hosts:
Mark McLoughlin 0bb0ad
Mark McLoughlin 0bb0ad
  https://bugzilla.redhat.com/526549
Mark McLoughlin 0bb0ad
Mark McLoughlin 0bb0ad
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin 0bb0ad
Fedora-patch: qemu-disable-preadv-support.patch
Mark McLoughlin 0bb0ad
---
Mark McLoughlin 0bb0ad
 posix-aio-compat.c |    2 +-
Mark McLoughlin 0bb0ad
 1 files changed, 1 insertions(+), 1 deletions(-)
Mark McLoughlin 0bb0ad
Mark McLoughlin 0bb0ad
diff --git a/posix-aio-compat.c b/posix-aio-compat.c
Mark McLoughlin 0bb0ad
index e9fc9fa..b116933 100644
Mark McLoughlin 0bb0ad
--- a/posix-aio-compat.c
Mark McLoughlin 0bb0ad
+++ b/posix-aio-compat.c
Mark McLoughlin 0bb0ad
@@ -34,7 +34,7 @@ static int idle_threads = 0;
Mark McLoughlin 0bb0ad
 static TAILQ_HEAD(, qemu_paiocb) request_list;
Mark McLoughlin 0bb0ad
 
Mark McLoughlin 0bb0ad
 #ifdef HAVE_PREADV
Mark McLoughlin 0bb0ad
-static int preadv_present = 1;
Mark McLoughlin 0bb0ad
+static int preadv_present = 0;
Mark McLoughlin 0bb0ad
 #else
Mark McLoughlin 0bb0ad
 static int preadv_present = 0;
Mark McLoughlin 0bb0ad
 #endif
Mark McLoughlin 0bb0ad
-- 
Mark McLoughlin 0bb0ad
1.6.2.5
Mark McLoughlin 0bb0ad