From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Disable AIO for Mac OS X
Date: Sat, 24 Jan 2009 14:53:01 -0600 [thread overview]
Message-ID: <497B7FAD.30005@codemonkey.ws> (raw)
In-Reply-To: <BDA515CE-2404-4980-A190-A5746A1B7F03@suse.de>
Alexander Graf wrote:
>
> 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.
My guess would be that the completion signal isn't being delivered. I'd
start by disabling cocoa and then annotate things to see if the
completion signal every makes it to the aio system.
Regards,
Anthony Liguori
>
> Alex
>
>>
>>
>> Regards,
>>
>> Anthony Liguori
>>
>>> So for the time being, let's simply disable aio for Mac OS X.
>>>
>>> Signed-off-by: Alexander Graf <agraf@suse.de>
>>> ---
>>> 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"
>>>
>>
>>
>>
>
>
>
next prev parent reply other threads:[~2009-01-24 20:53 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-24 19:59 [Qemu-devel] [PATCH] Disable AIO for Mac OS X Alexander Graf
2009-01-24 20:28 ` Anthony Liguori
2009-01-24 20:37 ` Alexander Graf
2009-01-24 20:53 ` Anthony Liguori [this message]
2009-01-24 21:14 ` Alexander Graf
2009-01-24 21:25 ` Anthony Liguori
2009-01-24 21:44 ` Alexander Graf
2009-01-24 23:27 ` Anthony Liguori
2009-01-25 9:49 ` Alexander Graf
2009-01-25 15:11 ` Anthony Liguori
2009-01-25 16:28 ` Jamie Lokier
2009-01-25 17:35 ` Anthony Liguori
2009-01-25 17:45 ` Alexander Graf
2009-01-25 17:53 ` 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=497B7FAD.30005@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).