[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: |
Stefan Weil |
Subject: |
Re: [Qemu-devel] [PATCH] Fix TLS support on x86 |
Date: |
Wed, 14 Nov 2007 21:02:28 +0100 |
User-agent: |
IceDove 1.5.0.14pre (X11/20071018) |
Fabrice Bellard schrieb:
> 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.
>
> I'll try to merge and improve the i386 TLS patch ASAP.
>
> Moreover, after having looked again at the linux-user code and at the
> regression tests, my conclusion is that the linux-user QEMU targets must
> be statically linked and that it should not depend on host libraries
> such as the C library.
>
> Fabrice.
Thank you, Fabrice. With your latest changes in QEMU CVS,
the user mode emulation qemu-i386 works again:
* i386 host:
statically linked hello, Debian echo, Debian top, Debian ls ok
* mips host (le and be QEMU Malta emulation):
statically linked hello, Debian echo, Debian top ok
Debian ls fails (segmentation fault)
Debian top complains about 2.4+ kernel w/o ELF notes -
this might be a missing feature in the linux user mode emulation.
Mips hosts need patches (published but still missing in CVS HEAD)
for user mode emulation.
Regards
Stefan