From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Is0uu-0002Dy-Uz for qemu-devel@nongnu.org; Tue, 13 Nov 2007 13:55:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Is0uq-0002Di-FH for qemu-devel@nongnu.org; Tue, 13 Nov 2007 13:55:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Is0uq-0002Df-A8 for qemu-devel@nongnu.org; Tue, 13 Nov 2007 13:55:16 -0500 Received: from owa.c2.net ([207.235.78.2] helo=email.c2.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Is0ul-000885-Sq for qemu-devel@nongnu.org; Tue, 13 Nov 2007 13:55:16 -0500 Subject: Re: [Qemu-devel] [PATCH] Fix TLS support on x86 From: Thayne Harbaugh In-Reply-To: <4739F095.7030109@mail.berlios.de> References: <46696500.5020406@suse.de> <20070618192139.GK19155@networkno.de> <467958F6.2070804@suse.de> <20070621225550.GB25967@networkno.de> <1801E7EE-FF0A-4A43-88ED-4503DEBBC831@suse.de> <20070621231612.GC25967@networkno.de> <4688CCFC.3000100@suse.de> <4739F095.7030109@mail.berlios.de> Content-Type: text/plain Date: Tue, 13 Nov 2007 11:46:45 -0700 Message-Id: <1194979605.918.19.camel@phantasm.home.enterpriseandprosperity.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: thayne@c2.net, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Tue, 2007-11-13 at 19:44 +0100, Stefan Weil wrote: > Hi, > > I'd like to test user mode emulation on MIPS host. > > Do you have newer versions of your patches which match > current CVS HEAD? TLS support is still missing there, > so QEMU user mode emulation is not really usable without > working patches. I don't know about anyone else, but I have some patches for TLS for arm and i386. The patches are significantly out of date with the recent linux-user changes. I won't be updating them until I finish with the current set of changes to linux-user. > Alexander Graf schrieb: > > Hi, > > > > these are the updated patches for TLS support: > > > > qemu-cvs-futex.patch > > > > This patches futex support into qemu-user. It is basically done by David > > Woodhouse and I implemented FUTEX_WAKE_OP because actually one > > application did not work without (I don't really remember which one > > though). If FUTEX_WAKE_OP gets triggered qemu throws a warning though so > > if anyone experiences problems with it and it works without we should > > disable it then. > > > > qemu-cvs-sched_getaffinity.patch > > > > Flash9 needs sys_get_getaffinity to work properly. As far as I can tell > > there should be no need for endianness-conversion, because the > > information is written bit-wise. > > > > qemu-cvs-tls.patch > > > > implements set_thread_area for x86 and modifies the do_clone function, > > so TLS is evaluated. This is 90% done by David Woodhouse, I only changed > > it so it works for me (TID setters, proper segment register setters, > > fork() fix, made clone() work). > > > > Alex > >