Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQpFo-0003Zy-8Z for qemu-devel@nongnu.org; Sat, 24 Jan 2009 15:37:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQpFm-0003XR-D7 for qemu-devel@nongnu.org; Sat, 24 Jan 2009 15:37:19 -0500 Received: from [199.232.76.173] (port=53727 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQpFm-0003XH-8v for qemu-devel@nongnu.org; Sat, 24 Jan 2009 15:37:18 -0500 Received: from ns2.suse.de ([195.135.220.15]:53197 helo=mx2.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQpFl-0007yJ-Rn for qemu-devel@nongnu.org; Sat, 24 Jan 2009 15:37:18 -0500 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 32F28473B2 for ; Sat, 24 Jan 2009 21:37:16 +0100 (CET) Message-Id: From: Alexander Graf In-Reply-To: <497B7A03.6040905@codemonkey.ws> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: [Qemu-devel] [PATCH] Disable AIO for Mac OS X Date: Sat, 24 Jan 2009 21:37:07 +0100 References: <1232827167-19058-1-git-send-email-agraf@suse.de> <497B7A03.6040905@codemonkey.ws> 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 On 24.01.2009, at 21:28, Anthony Liguori wrote: > Alexander Graf wrote: >> While trying current svn, it looks like AIO support compiles on >> Mac OS X finally. Unfortunately it is broken and as soon as I want >> to run any image, it endless loops in block.c:1446 which is: >> >> while (async_ret == NOT_DONE) { >> qemu_aio_wait(); >> } >> > > Are you using cocoa? Yep. Nothing else works for x86_64 on Mac OS X ;-). Well - except for vnc. > I don't think the AIO code is broken here. I think something else > is broken and disabling AIO hides the symptom. Can you dig more > into this? Hum - sounds like an idea. I'm open for hints on how to dig in here. I can disable cocoa for starters of course. Alex > > > Regards, > > Anthony Liguori > >> So for the time being, let's simply disable aio for Mac OS X. >> >> Signed-off-by: Alexander Graf >> --- >> configure | 1 + >> 1 files changed, 1 insertions(+), 0 deletions(-) >> >> diff --git a/configure b/configure >> index c3fbbbe..3e701b9 100755 >> --- a/configure >> +++ b/configure >> @@ -259,6 +259,7 @@ cocoa="yes" >> audio_drv_list="coreaudio" >> audio_possible_drivers="coreaudio sdl fmod" >> OS_LDFLAGS="-framework CoreFoundation -framework IOKit" >> +aio="no" >> ;; >> SunOS) >> solaris="yes" >> > > >