From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z86Sz-0000Wv-Ol for qemu-devel@nongnu.org; Thu, 25 Jun 2015 08:41:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z86Su-0006Kh-Ck for qemu-devel@nongnu.org; Thu, 25 Jun 2015 08:41:17 -0400 Received: from mail-la0-f52.google.com ([209.85.215.52]:35153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z86Su-0006KR-6A for qemu-devel@nongnu.org; Thu, 25 Jun 2015 08:41:12 -0400 Received: by lagi2 with SMTP id i2so44244390lag.2 for ; Thu, 25 Jun 2015 05:41:11 -0700 (PDT) Date: Thu, 25 Jun 2015 14:41:13 +0200 From: Christoffer Dall Message-ID: <20150625124113.GF28244@cbox> References: <5576C559.2000902@arm.com> <20150625080014.GC28244@cbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Marc Zyngier , Shlomo Pongratz , Shlomo Pongratz , Pavel Fedin , QEMU Developers , Shannon Zhao , Ashok Kumar , Igor Mammedov , "kvmarm@lists.cs.columbia.edu" On Thu, Jun 25, 2015 at 10:06:20AM +0100, Peter Maydell wrote: > On 25 June 2015 at 09:00, Christoffer Dall wrote: > > Of course, KVM can deny an unsupported configuration, but I am wondering > > if we really think anybody will care about the 'model such specific > > hardware' aspect with KVM, or if we should only consider the 'I want a > > VM with x VCPUs' scenario, in which case the second option below seems > > simpler to me. > > I agree it's not very likely anybody cares about the specific cluster > topology. However if we don't want to support arbitrary topologies > then QEMU is going to end up in the business of editing the user > supplied device tree blob to make its cpu definitions match up with > whatever the kernel provides, which could be pretty tedious. > I see, then you can't easily contruct a machine and a DT in one go before talking to KVM. Oh well, I don't feel strongly one way or the other. -Christoffer