qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Disable AIO for Mac OS X


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] Disable AIO for Mac OS X
Date: Sat, 24 Jan 2009 14:53:01 -0600
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

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 <address@hidden>
---
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 via email to

[Prev in Thread] Current Thread [Next in Thread]