Received: from eggs.gnu.org ([2001:4830:134:3::10]:57104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUANS-0000KR-0t for qemu-devel@nongnu.org; Thu, 19 Jan 2017 05:55:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUANO-00074P-Ur for qemu-devel@nongnu.org; Thu, 19 Jan 2017 05:55:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56964) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cUANO-000746-OW for qemu-devel@nongnu.org; Thu, 19 Jan 2017 05:55:30 -0500 Date: Thu, 19 Jan 2017 08:55:27 -0200 From: Eduardo Habkost Message-ID: <20170119105527.GM3491@thinpad.lan.raisama.net> References: <1484759609-264075-1-git-send-email-imammedo@redhat.com> <20170119094511.GE10906@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170119094511.GE10906@redhat.com> Subject: Re: [Qemu-devel] [RFC 00/13] numa: add '-numa cpu' option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: Igor Mammedov , qemu-devel@nongnu.org, Dou Liyang , Andrew Jones , peter.maydell@linaro.org, fanc.fnst@cn.fujitsu.com, Thomas Huth , caoj.fnst@cn.fujitsu.com, stefanha@redhat.com, izumi.taku@jp.fujitsu.com, vilanova@ac.upc.edu, David Gibson On Thu, Jan 19, 2017 at 09:45:11AM +0000, Daniel P. Berrange wrote: > On Wed, Jan 18, 2017 at 06:13:16PM +0100, Igor Mammedov wrote: > > > > Series introduces a new CLI option to allow mapping cpus to numa > > nodes using public properties [socket|core|thread]-ids instead of > > internal cpu-index and moving cpu<->node mapping from global bitmaps > > to PCMachineState struct. > > What is the benefit of this change to apps ? Obviously libvirt uses > the current syntax, but I'm not aware of what problems that has - why > would libvirt want to use this new syntax instead ? The current interface is based on a "CPU index", and the mapping from CPU index to a specific CPU object can be non-trivial, especially if "-device *-cpu", CPU hotplug, or more complex CPU topologies are used. -- Eduardo