qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
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:28:51 -0600	[thread overview]
Message-ID: <497B7A03.6040905@codemonkey.ws> (raw)
In-Reply-To: <1232827167-19058-1-git-send-email-agraf@suse.de>

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?

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?

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"
>   

  reply	other threads:[~2009-01-24 20:29 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 [this message]
2009-01-24 20:37   ` Alexander Graf
2009-01-24 20:53     ` Anthony Liguori
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=497B7A03.6040905@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).