From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNtVd-0004S1-FS for qemu-devel@nongnu.org; Fri, 16 Jan 2009 13:33:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNtVb-0004Qj-My for qemu-devel@nongnu.org; Fri, 16 Jan 2009 13:33:32 -0500 Received: from [199.232.76.173] (port=56276 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNtVb-0004Qe-FQ for qemu-devel@nongnu.org; Fri, 16 Jan 2009 13:33:31 -0500 Received: from mail-qy0-f20.google.com ([209.85.221.20]:42178) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LNtVb-0003rq-2u for qemu-devel@nongnu.org; Fri, 16 Jan 2009 13:33:31 -0500 Received: by qyk13 with SMTP id 13so2657407qyk.10 for ; Fri, 16 Jan 2009 10:33:29 -0800 (PST) Message-ID: <4970D2EE.8060206@codemonkey.ws> Date: Fri, 16 Jan 2009 12:33:18 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [6343] Fix false positive for AIO on OpenBSD References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.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 > -int main(void) { pthread_mutex_t lock; return 0; } > +#include > +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 > > > > >