While hunting a tls related bug in ARM emulation, I found that that
qemu distributed with scratchbox includes the attached patch.

Without the patch python's configure halts when checking for the
-pthread option.

The patch inverts the order of the list and makes the code simpler. I
think that there is a remaining problem, if first_cpu == NULL then
env->cpu_index is not initialized. Should an else be added?

Any thoughts on the patch?

Thanks,
Rafael

Attachment: cpustate.patch
Description: Binary data

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

Reply via email to