Blame qemu-disable-preadv.patch
|
Mark McLoughlin |
da7d23 |
From e03d1ce64cffe26b196cf4c9943bc5a9c24d9e8d Mon Sep 17 00:00:00 2001
|
|
Mark McLoughlin |
da7d23 |
From: Mark McLoughlin <markmc@redhat.com>
|
|
Mark McLoughlin |
da7d23 |
Date: Wed, 24 Jun 2009 16:34:48 +0100
|
|
Mark McLoughlin |
da7d23 |
Subject: [PATCH 4/7] Disable preadv()/pwritev() until bug corruption is fixed
|
|
Mark McLoughlin |
da7d23 |
|
|
Mark McLoughlin |
da7d23 |
See https://bugzilla.redhat.com/497429
|
|
Mark McLoughlin |
da7d23 |
|
|
Mark McLoughlin |
da7d23 |
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
|
|
Mark McLoughlin |
da7d23 |
---
|
|
Mark McLoughlin |
da7d23 |
configure | 6 +++---
|
|
Mark McLoughlin |
da7d23 |
1 files changed, 3 insertions(+), 3 deletions(-)
|
|
Mark McLoughlin |
da7d23 |
|
|
Mark McLoughlin |
da7d23 |
diff --git a/configure b/configure
|
|
Mark McLoughlin |
da7d23 |
index dcb9ff9..3463ec2 100755
|
|
Mark McLoughlin |
da7d23 |
--- a/configure
|
|
Mark McLoughlin |
da7d23 |
+++ b/configure
|
|
Mark McLoughlin |
da7d23 |
@@ -1264,9 +1264,9 @@ cat > $TMPC <
|
|
Mark McLoughlin |
92dcc1 |
int main(void) { preadv; }
|
|
Mark McLoughlin |
92dcc1 |
EOF
|
|
Mark McLoughlin |
92dcc1 |
preadv=no
|
|
Mark McLoughlin |
92dcc1 |
-if $cc $ARCH_CFLAGS -o $TMPE $TMPC > /dev/null 2> /dev/null ; then
|
|
Mark McLoughlin |
92dcc1 |
- preadv=yes
|
|
Mark McLoughlin |
92dcc1 |
-fi
|
|
Mark McLoughlin |
92dcc1 |
+#if $cc $ARCH_CFLAGS -o $TMPE $TMPC > /dev/null 2> /dev/null ; then
|
|
Mark McLoughlin |
92dcc1 |
+# preadv=yes
|
|
Mark McLoughlin |
92dcc1 |
+#fi
|
|
Mark McLoughlin |
92dcc1 |
|
|
Mark McLoughlin |
92dcc1 |
##########################################
|
|
Mark McLoughlin |
92dcc1 |
# fdt probe
|
|
Mark McLoughlin |
da7d23 |
--
|
|
Mark McLoughlin |
da7d23 |
1.6.2.2
|
|
Mark McLoughlin |
da7d23 |
|