From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtlGh-0004PL-5o for qemu-devel@nongnu.org; Mon, 01 Jul 2013 17:04:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtlGg-0001Tx-52 for qemu-devel@nongnu.org; Mon, 01 Jul 2013 17:04:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Utl5O-0006fk-EE for qemu-devel@nongnu.org; Mon, 01 Jul 2013 16:52:34 -0400 Message-ID: <51D1EC0D.50304@redhat.com> Date: Mon, 01 Jul 2013 22:52:29 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1372444009-11544-1-git-send-email-pbonzini@redhat.com> <1372444009-11544-6-git-send-email-pbonzini@redhat.com> <51D15DDC.3030705@redhat.com> <51D1AC75.3000000@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 05/30] exec: do not use qemu/tls.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org Il 01/07/2013 18:26, Peter Maydell ha scritto: > > 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. Not many linux-user targets support threads (including not i386). > (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.) No, of course not.