> What must be done for implementing TLS + multithread in qemu? Maybe I can
> help.

* Implement the TLS syscalls (futexes and the architecture specific bits).
There's a patch for clone() here: https://nowt.dyndns.org/patch.qemu_nptl
* Fix all the bits of qemu that aren't threadsafe (mainly the TB cache IIRC).
* Fix guest atomic operations, and make sure guest coherency/ordering 
guaranteed are honoured, even which not guaranteed natively by the host.

Note that this only applies to usermode emulation. Full system emulation works 
fine because this is all handled by the guest kernel, exactly the same as on 
real hardware.

Paul


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to