[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 883136] Re: qemu on ARM hosts aborts on startup becaus
Dr. David Alan Gilbert
[Qemu-devel] [Bug 883136] Re: qemu on ARM hosts aborts on startup because makecontext() always fails
Wed, 21 Dec 2011 17:42:03 -0000
Attached is a 1st cut of a makecontext/setcontext/getcontext/swapcontext set
for ARM - not ready to go into libc yet;
currently it builds standalone and links (and passes) with a test of mine.
Next stop libc and a lot of cleanup.
** Changed in: qemu-linaro
Assignee: (unassigned) => Dr. David Alan Gilbert (davidgil-uk)
** Attachment added: "Start of a set of context routines"
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
qemu on ARM hosts aborts on startup because makecontext() always fails
Status in QEMU:
Status in Linaro QEMU:
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
The best fix for this is probably going to involve making the
coroutine implementation runtime-selectable.
To manage notifications about this bug go to: