qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 05/30] exec: do not use qemu/tls.h


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 05/30] exec: do not use qemu/tls.h
Date: Mon, 1 Jul 2013 17:26:32 +0100

On 1 July 2013 17:21, Paolo Bonzini <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]