From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 883136] Re: qemu on ARM hosts aborts on startup because makecontext() always fails
Date: Thu, 12 Jan 2012 10:17:11 -0000 [thread overview]
Message-ID: <20120112101711.11218.37285.malone@soybean.canonical.com> (raw)
In-Reply-To: 20111028150756.31559.33093.malonedeb@chaenomeles.canonical.com
Plan:
(a) get makecontext added to eglibc
(b) see if upstream eglibc are open to the idea of some sort of #define for MAKECONTEXT_ACTUALLY_IMPLEMENTED_NOW so we can detect it at compile time
(c) otherwise, work around in qemu (probably by adding another layer of indirection)
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/883136
Title:
qemu on ARM hosts aborts on startup because makecontext() always fails
Status in QEMU:
New
Status in Linaro QEMU:
In Progress
Bug description:
qemu has recently grown a coroutines implementation. There are two
versions, one using the makecontext/setcontext/swapcontext functions
from ucontext.h, and one falling back to implementing coroutines as
separate glib threads. configure chooses the former if the platform
has a makecontext().
Unfortunately ARM eglibc provides a makecontext() which always fails
ENOSYS, which means the configure check passes but when qemu starts it
abort()s.
The best fix for this is probably going to involve making the
coroutine implementation runtime-selectable.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/883136/+subscriptions
next prev parent reply other threads:[~2012-01-12 10:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20111028150756.31559.33093.malonedeb@chaenomeles.canonical.com>
2011-12-02 15:19 ` [Qemu-devel] [Bug 883136] Re: qemu on ARM hosts aborts on startup because makecontext() always fails Natalia Portillo
2011-12-21 17:42 ` Dr. David Alan Gilbert
2011-12-22 9:46 ` Stefan Hajnoczi
2011-12-23 17:17 ` Dr. David Alan Gilbert
2012-01-05 0:47 ` Michael Hope
2012-01-05 0:58 ` Michael Hope
2012-01-06 0:32 ` Michael Hope
2012-01-12 10:17 ` Peter Maydell [this message]
2012-02-20 16:42 ` Peter Maydell
2012-02-23 15:21 ` Peter Maydell
2012-03-06 19:39 ` Peter Maydell
2012-03-06 19:40 ` Peter Maydell
2012-03-15 13:21 ` Peter Maydell
2012-07-10 14:58 ` Peter Maydell
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=20120112101711.11218.37285.malone@soybean.canonical.com \
--to=peter.maydell@linaro.org \
--cc=883136@bugs.launchpad.net \
--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).