From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzVmq-00089C-5t for qemu-devel@nongnu.org; Mon, 01 Jun 2015 15:54:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzVmd-00026J-U6 for qemu-devel@nongnu.org; Mon, 01 Jun 2015 15:54:16 -0400 Received: from mail-qk0-x230.google.com ([2607:f8b0:400d:c09::230]:34430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzVmd-00025x-P7 for qemu-devel@nongnu.org; Mon, 01 Jun 2015 15:54:03 -0400 Received: by qkoo18 with SMTP id o18so89922122qko.1 for ; Mon, 01 Jun 2015 12:54:03 -0700 (PDT) Sender: Richard Henderson Message-ID: <556CB856.5060607@twiddle.net> Date: Mon, 01 Jun 2015 12:53:58 -0700 From: Richard Henderson MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v2 21/34] core: virtualise CPU interfaces completely List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite , qemu-devel@nongnu.org Cc: edgar.iglesias@gmail.com, Peter Crosthwaite , pbonzini@redhat.com, afaerber@suse.de, peter.maydell@linaro.org On 05/30/2015 11:11 PM, Peter Crosthwaite wrote: > The tcg_ctx global is tricky. It needs to become part of the cpu state. > This is done via a pointer. Why does it need to be virtualized? We already have one for each arch-obj-y. Is it really accessed from outside arch-obj-y? r~