On 28 June 2013 11:11, Paolo Bonzini <pbonz...@redhat.com> wrote: > And of course if bsd-user supported 1:1 mapping between guest and host > threads on FreeBSD, cpu_single_env would have to be thread-local.
This is the case for the bsd-user work that Stacey posted at the beginning of the week and is currently being revised after the initial round of comments. Can you comment on how quickly your tls work is expected to arrive? We'll have to rebase on top of it, if it's in the next few days or so. If it's longer than that we'll need this change as a prerequisite for the bsd-user work. After Peter suggested splitting this change out I sent it to -trivial because I already had it in a test tree, and it has no effect on non-FreeBSD hosts. If it's really objectionable right now we can include it with v2 of the bsd-user series.