All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [6343] Fix false positive for AIO on OpenBSD
Date: Fri, 16 Jan 2009 12:33:18 -0600	[thread overview]
Message-ID: <4970D2EE.8060206@codemonkey.ws> (raw)
In-Reply-To: <E1LNtCH-0000b3-5e@cvs.savannah.gnu.org>

Blue Swirl wrote:
> Revision: 6343
>           http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6343
> Author:   blueswir1
> Date:     2009-01-16 18:13:32 +0000 (Fri, 16 Jan 2009)
>
> Log Message:
> -----------
> Fix false positive for AIO on OpenBSD
>   

If OpenBSD doesn't have sigqueue, we could just replace it with kill.  I 
don't think we need to disable AIO.

Regards,

Anthony Liguori

> Modified Paths:
> --------------
>     trunk/configure
>
> Modified: trunk/configure
> ===================================================================
> --- trunk/configure	2009-01-16 14:27:37 UTC (rev 6342)
> +++ trunk/configure	2009-01-16 18:13:32 UTC (rev 6343)
> @@ -1005,7 +1005,9 @@
>    aio=no
>    cat > $TMPC << EOF
>  #include <pthread.h>
> -int main(void) { pthread_mutex_t lock; return 0; }
> +#include <signal.h>
> +int main(void) { struct sigevent s; pthread_mutex_t lock;
> +    return sigqueue(0, 0, s.sigev_value); }
>  EOF
>    if $cc $ARCH_CFLAGS -o $TMPE $AIOLIBS $TMPC 2> /dev/null ; then
>      aio=yes
>
>
>
>
>   

  reply	other threads:[~2009-01-16 18:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-16 18:13 [Qemu-devel] [6343] Fix false positive for AIO on OpenBSD Blue Swirl
2009-01-16 18:33 ` Anthony Liguori [this message]
2009-01-16 18:41   ` Blue Swirl
2009-01-16 18:50     ` Anthony Liguori
2009-01-16 19:03       ` Blue Swirl
2009-01-16 19:09         ` Anthony Liguori
2009-01-16 21:19           ` Blue Swirl
2009-01-16 21:39             ` Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4970D2EE.8060206@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.