From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOhtm-0002Nn-VV for qemu-devel@nongnu.org; Tue, 02 Sep 2014 02:49:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOhtf-0000Hb-4a for qemu-devel@nongnu.org; Tue, 02 Sep 2014 02:49:02 -0400 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:60465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOhte-0000HR-TP for qemu-devel@nongnu.org; Tue, 02 Sep 2014 02:48:55 -0400 Received: by mail-wi0-f179.google.com with SMTP id q5so7209113wiv.6 for ; Mon, 01 Sep 2014 23:48:54 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <54056850.6010100@redhat.com> Date: Tue, 02 Sep 2014 08:48:48 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v1 4/6] qom: Move cpu.o to obj-y. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite , Peter Maydell Cc: Edgar Iglesias , QEMU Developers , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Il 02/09/2014 00:56, Peter Crosthwaite ha scritto: > On Tue, Sep 2, 2014 at 3:43 AM, Peter Maydell wrote: >> On 26 August 2014 01:58, Peter Crosthwaite wrote: >>> It's not really a common object >> >> In what sense isn't it a common object? It's only >> compiled once, rather than per-target. We should >> avoid moving object files from compiled-once >> to compiled-per-target if we can... >> > > Yeh, I introduce the variation with address_space_memory reliance. CPU > needs to see it for the default AR. It doesn't exist in user-mode > though. cpus.c already contains softmmu-specific of cpu.c. Perhaps you can add something in there (and in *-user/main.c). Paolo