From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOVok-00074d-Um for qemu-devel@nongnu.org; Mon, 01 Sep 2014 13:55:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOVoe-0005ej-Uu for qemu-devel@nongnu.org; Mon, 01 Sep 2014 13:55:02 -0400 Received: from mail-qg0-x233.google.com ([2607:f8b0:400d:c04::233]:35690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOVoe-0005dJ-Nw for qemu-devel@nongnu.org; Mon, 01 Sep 2014 13:54:56 -0400 Received: by mail-qg0-f51.google.com with SMTP id i50so5552561qgf.10 for ; Mon, 01 Sep 2014 10:54:55 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <5404B2EB.6070609@redhat.com> Date: Mon, 01 Sep 2014 19:54:51 +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 Maydell , Peter Crosthwaite Cc: Edgar Iglesias , QEMU Developers , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Il 01/09/2014 19:43, Peter Maydell ha scritto: > 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... Should we add a softmmu_enabled() function similar to kvm_enabled(), that returns true for system emulation and false for user-mode emulation? Paolo