From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agYG5-0007lJ-Ie for qemu-devel@nongnu.org; Thu, 17 Mar 2016 09:46:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agYFz-0007q5-OM for qemu-devel@nongnu.org; Thu, 17 Mar 2016 09:46:37 -0400 Date: Thu, 17 Mar 2016 14:46:27 +0100 From: Igor Mammedov Message-ID: <20160317144627.3f3bc1ca@nial.brq.redhat.com> In-Reply-To: <56E9B437.6040607@de.ibm.com> References: <1458048248-4605-1-git-send-email-imammedo@redhat.com> <56E9B437.6040607@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 0/2] spapr: QMP: add query-hotpluggable-cpus List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Borntraeger Cc: mjrosato@linux.vnet.ibm.com, agraf@suse.de, pkrempa@redhat.com, ehabkost@redhat.com, qemu-devel@nongnu.org, armbru@redhat.com, qemu-ppc@nongnu.org, bharata@linux.vnet.ibm.com, cornelia.huck@de.ibm.com, dgibson@redhat.com, afaerber@suse.de On Wed, 16 Mar 2016 20:29:59 +0100 Christian Borntraeger wrote: > On 03/15/2016 02:24 PM, Igor Mammedov wrote: > > Changes since v2: > > - rebase on top of hte lates spapr cpu hotpug series > > - add 'vcpus-count' field, pkrempa@redhat.com > > - s/CpuInstanceProps/CpuInstanceProperties/ > > - use '#optional' marker > > - make "props" as always present even if it's empty > > - fix JSON examples > > - fix minor typos > > - drop pre_plug spapr impl out of series as not related to QMP command > > - drop generic pre hotplug callback as not related to QMP command > > > > Changes since RFC: > > - drop arch_id > > - move CPU properties into separate structure > > - target implements its own qmp callback version > > - rebased on top of [RFC PATCH v1 00/10] Core based CPU hotplug for PowerPC sPAPR > > https://www.mail-archive.com/qemu-devel@nongnu.org/msg357567.html > > - convert slot name to core id hack > > - drop links > > - add generic pre hotplug callback > > - implement query-hotpluggable-cpus > > > > The first patch (QMP API) in this series could go in first > > allowing individual targets to post their hotplug > > implementation independently on top of it. > > > > Igor Mammedov (2): > > QMP: add query-hotpluggable-cpus > > spapr: implement query-hotpluggable-cpus QMP command > > > > hw/ppc/spapr.c | 32 +++++++++++++++++++++++++++ > > i might have just missed that, do we also have the x86 implementation already available as > RFC somewhere? device_add x86-cpu, hasn't been posted yet, but I'm working on it. If you are asking about query-hotpluggable-cpus command with x86 backend then it's been posted as v1 of this RFC https://patchwork.ozlabs.org/patch/583036/ and current v3 is what QMP interface evolved to based on feedback for QEMU and libvirt developers. x86 backend shouldn't be hard to respin as prerequisite patches for it were just merged, I plan to stick that patch in device_add enablement series.