From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afoxO-0008NU-Si for qemu-devel@nongnu.org; Tue, 15 Mar 2016 09:24:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afoxL-0002Is-Np for qemu-devel@nongnu.org; Tue, 15 Mar 2016 09:24:18 -0400 From: Igor Mammedov Date: Tue, 15 Mar 2016 14:24:06 +0100 Message-Id: <1458048248-4605-1-git-send-email-imammedo@redhat.com> Subject: [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: qemu-devel@nongnu.org Cc: mjrosato@linux.vnet.ibm.com, pkrempa@redhat.com, ehabkost@redhat.com, agraf@suse.de, armbru@redhat.com, borntraeger@de.ibm.com, qemu-ppc@nongnu.org, bharata@linux.vnet.ibm.com, cornelia.huck@de.ibm.com, dgibson@redhat.com, afaerber@suse.de 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 +++++++++++++++++++++++++++ qapi-schema.json | 41 +++++++++++++++++++++++++++++++++++ qmp-commands.hx | 43 +++++++++++++++++++++++++++++++++++++ stubs/Makefile.objs | 1 + stubs/qmp_query_hotpluggable_cpus.c | 9 ++++++++ 5 files changed, 126 insertions(+) create mode 100644 stubs/qmp_query_hotpluggable_cpus.c -- 1.8.3.1