From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0mI9-0002Lj-ME for qemu-devel@nongnu.org; Wed, 19 Apr 2017 05:52:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0mI8-0001xE-S3 for qemu-devel@nongnu.org; Wed, 19 Apr 2017 05:52:53 -0400 Date: Wed, 19 Apr 2017 11:52:45 +0200 From: Igor Mammedov Message-ID: <20170419115245.5855f624@nial.brq.redhat.com> In-Reply-To: <20170412211529.GD27126@thinpad.lan.raisama.net> References: <1490189568-167621-1-git-send-email-imammedo@redhat.com> <1490189568-167621-11-git-send-email-imammedo@redhat.com> <20170412211529.GD27126@thinpad.lan.raisama.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-2.10 10/23] numa: mirror cpu to node mapping in MachineState::possible_cpus List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: Peter Maydell , Andrew Jones , qemu-devel@nongnu.org, qemu-arm@nongnu.org, qemu-ppc@nongnu.org, Shannon Zhao , Paolo Bonzini , David Gibson On Wed, 12 Apr 2017 18:15:29 -0300 Eduardo Habkost wrote: > On Wed, Mar 22, 2017 at 02:32:35PM +0100, Igor Mammedov wrote: > > Introduce machine_set_cpu_numa_node() helper that stores > > node mapping for CPU in MachineState::possible_cpus. > > CPU and node it belongs to is specified by 'props' argument. > > > > Patch doesn't remove old way of storing mapping in > > numa_info[X].node_cpu as removing it at the same time > > makes patch rather big. Instead it just mirrors mapping > > in possible_cpus and follow up per target patches will > > switch to possible_cpus and numa_info[X].node_cpu will > > be removed once there isn't any users left. > > > > Signed-off-by: Igor Mammedov > > So, this patch is the one that makes "-numa" and "-numa cpu" > affect query-hotpluggable-cpus output. that was intent behind series. [...] > As noted in another message, I am not sure we really should make > "-numa" affect query-hotpluggable-cpus output unconditionally (I > believe we shouldn't). But we do, we need to document this very > clearly. What place would you suggest to document this at? [...]