qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] coroutine: Disable coroutine pool for w32, w64 (fix


From: Stefan Weil
Subject: [Qemu-devel] [PATCH] coroutine: Disable coroutine pool for w32, w64 (fix regression)
Date: Fri, 27 Sep 2013 07:45:49 +0200

Since commit 402397843e20e35d6cb7c80837c7cfdb19ede591 qemu-system-i386 and
qemu-system-x86_64 for w32 / w64 abort with an assertion
(qemu-coroutine-lock.c:99) if they are started with an CDROM ISO boot image.

Disabling the coroutine pool for MinGW restores the old behaviour and avoids
this regression.

Cc: qemu-stable <address@hidden>
Reported-by: Vikas Desai <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
---
This patch is needed for stable-1.5, too, but depends on a patch which adds
the configure option --disable-coroutine-pool.

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 16b4e5a..782b2be 100755
--- a/configure
+++ b/configure
@@ -3423,7 +3423,7 @@ else
 fi
 
 if test "$coroutine_pool" = ""; then
-  if test "$coroutine" = "gthread"; then
+  if test "$coroutine" = "gthread" -o "$coroutine" = "win32"; then
     coroutine_pool=no
   else
     coroutine_pool=yes
-- 
1.7.10.4




reply via email to

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