On 28 June 2013 15:47, Paolo Bonzini <pbonz...@redhat.com> wrote: > Il 28/06/2013 15:05, Peter Maydell ha scritto: >> I don't understand what you mean by "no need for it". We are >> already multithreaded in system mode, so this is simply >> making FreeBSD do the same thing as Linux. > > cpu_single_env is protected by the BQL unless you're running on KVM.
That doesn't make it magically not a per-thread variable. -- PMM