Received: from eggs.gnu.org ([208.118.235.92]:43931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfABd-0004q5-Tk for qemu-devel@nongnu.org; Wed, 22 May 2013 10:38:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfABc-0003FE-Qn for qemu-devel@nongnu.org; Wed, 22 May 2013 10:38:41 -0400 Message-ID: <519CD863.3080205@redhat.com> Date: Wed, 22 May 2013 16:38:27 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1369066884-431-1-git-send-email-peter.maydell@linaro.org> <519A50EE.8040804@redhat.com> <871u8zp34w.fsf@codemonkey.ws> <87y5b7hyuo.fsf@codemonkey.ws> In-Reply-To: <87y5b7hyuo.fsf@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] qapi-schema.json: Reformat TargetType enum to one-per-line List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , John Rigby , patches@linaro.org, qemu-trivial@nongnu.org, qemu-devel@nongnu.org, Libvirt , =?ISO-8859-1?Q?Andreas_F=E4rber?= Il 22/05/2013 16:29, Anthony Liguori ha scritto: > Peter Maydell writes: > >> On 22 May 2013 14:15, Anthony Liguori wrote: >>> Paolo Bonzini writes: >>>> You >>>> don't need to know what targets were supported in the version that you >>>> compiled from. Only one target is supported in this executable >>>> anyway. >>> >>> It seems useful to me. One day we may support multiple targets per >>> executable. >> >> Why would you care about which architectures the executable supports? >> What you actually want to know is which machine models are supported; >> whether board foo happens to be ARM or PPC isn't really very interesting >> IMHO. > > That's a very good point. It was the libvirt folks that requested > this. Perhaps they can shed some light on the logic? There is processor-dependent logic in libvirt, for example the CPUID bits. Paolo