[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Fix TLS support on x86
From: |
Thayne Harbaugh |
Subject: |
Re: [Qemu-devel] [PATCH] Fix TLS support on x86 |
Date: |
Tue, 13 Nov 2007 11:46:45 -0700 |
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
>
>