On 1 July 2013 17:21, Paolo Bonzini <pbonz...@redhat.com> wrote: > I think we should strive for one of these two: > > (1) all targets are TLS; > > (2) all targets are non-TLS if this is possible. > > Either maximizes the homogeneity across platforms.
Since the two largest cases are both "cpu_single_env must be TLS" (ie (a) system emulation built with KVM support and (b) linux-user), the set of targets which can be non-TLS is really really small, and I think (1) makes much more sense. (I'm assuming you don't want to try to support cpu_single_env being both per-thread and not-per-thread in a single binary depending on whether the user passes -enable-kvm or not.) -- PMM