[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] preprocessor issue in qemu/patch-block-raw-posi

From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] preprocessor issue in qemu/patch-block-raw-posix.c
Date: Thu, 25 Sep 2008 15:39:58 -0500
User-agent: Thunderbird (X11/20080723)

Juergen Lock wrote:
I forgot to note that this also needed the following patch:

Why?  This #ifdef is working around a very specific bug.


Anthony Liguori

Index: qemu/block-raw-posix.c
@@ -545,7 +545,8 @@
qemu_aio_set_fd_handler(s->fd, posix_aio_read, NULL, posix_aio_flush, s); -#if defined(__linux__) && defined(__GLIBC_PREREQ) && !__GLIBC_PREREQ(2, 4)
+#if defined(__linux__) && defined(__GLIBC_PREREQ)
+#if !__GLIBC_PREREQ(2, 4)
         /* XXX: aio thread exit seems to hang on RedHat 9 and this init
            seems to fix the problem. */
@@ -557,6 +558,7 @@
     posix_aio_state = s;
return 0;

Signed-off-by: Juergen Lock <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]