Received: from eggs.gnu.org ([2001:4830:134:3::10]:46231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4QIU-0006v4-E1 for qemu-devel@nongnu.org; Mon, 15 Jun 2015 05:03:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4QIT-00070z-Bg for qemu-devel@nongnu.org; Mon, 15 Jun 2015 05:03:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4QIT-00070t-7F for qemu-devel@nongnu.org; Mon, 15 Jun 2015 05:03:13 -0400 Date: Mon, 15 Jun 2015 11:03:09 +0200 From: Igor Mammedov Message-ID: <20150615110309.4feb442e@nial.brq.redhat.com> In-Reply-To: <004f01d0a743$37e2eb10$a7a8c130$@samsung.com> References: <02f601d0a1e6$90c7d630$b2578290$@samsung.com> <000801d0a73a$d6fbeac0$84f3c040$@samsung.com> <004f01d0a743$37e2eb10$a7a8c130$@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v4] Use Aff1 with mpidr List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Fedin Cc: 'Peter Maydell' , 'Shlomo Pongratz' , 'QEMU Developers' , 'Shlomo Pongratz' On Mon, 15 Jun 2015 11:13:52 +0300 Pavel Fedin wrote: > Hello! > > > For machine models to specify topology we would need a property > > or properties on the QOM object for the machine model to set, > > On which object? There's no single object inside a machine model. Of course you can expose MP IDs of CPU objects as properties and set them, but isn't it more difficult than just changing one global before setting things up? that's how we model it for x86 target, i.e. board sets apic-id property of CPU's it creates, and that's what I've suggested before (i.e. not a global for sure). > But, OK, this is just a MHO, and generally i don't object. If you think that your suggestion is architecturally better, do it. I'm out of arguments. :) > > > (And we'd need to have the code to see if KVM > > supported setting arbitrary MPIDR values, and fail if not.) > > I believe this is a different story. > > Kind regards, > Pavel Fedin > Expert Engineer > Samsung Electronics Research center Russia > > >