From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Is0l0-0007SU-27 for qemu-devel@nongnu.org; Tue, 13 Nov 2007 13:45:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Is0kw-0007Rv-Av for qemu-devel@nongnu.org; Tue, 13 Nov 2007 13:45:05 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Is0kw-0007Rs-7s for qemu-devel@nongnu.org; Tue, 13 Nov 2007 13:45:02 -0500 Received: from moutng.kundenserver.de ([212.227.126.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Is0ku-000488-P4 for qemu-devel@nongnu.org; Tue, 13 Nov 2007 13:45:01 -0500 Message-ID: <4739F095.7030109@mail.berlios.de> Date: Tue, 13 Nov 2007 19:44:37 +0100 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Fix TLS support on x86 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> In-Reply-To: <4688CCFC.3000100@suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: 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 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. Regards Stefan 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