From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGB9y-0005d3-B3 for qemu-devel@nongnu.org; Thu, 23 Jun 2016 16:23:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGB9s-0004sR-D7 for qemu-devel@nongnu.org; Thu, 23 Jun 2016 16:23:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGB9s-0004sH-7M for qemu-devel@nongnu.org; Thu, 23 Jun 2016 16:23:28 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 22C3CC06C9FC for ; Thu, 23 Jun 2016 20:23:27 +0000 (UTC) From: Peter Krempa Date: Thu, 23 Jun 2016 22:23:22 +0200 Message-Id: Subject: [Qemu-devel] [PATCH 0/3] qapi: Fix up cpu hotplug property names and add witness for cpu hotplug support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Igor Mammedov , David Gibson , Peter Krempa I started figuring out how to add support for this to libvirt and discovered a few problems that made it not-easy to use for management. Patch 1 adds a witness to allow us to properly detect the support for the feature. Patches 2 and 3 are two options to fix discrepancy between names that need to be used with -device and those reported by query-hotpluggable-cpus. Peter Krempa (3): qapi: Report support for -device cpu hotplug in query-machines VARIANT 1: qapi: Change 'core' to 'core-id' in 'CpuInstanceProperties' VARIANT 2: qapi: Change 'core-id' to 'core' in 'struct CPUCore' hmp.c | 4 ++-- hw/cpu/core.c | 6 +++--- hw/ppc/spapr.c | 4 ++-- hw/ppc/spapr_cpu_core.c | 16 ++++++++-------- include/hw/cpu/core.h | 7 +++++-- qapi-schema.json | 9 ++++++--- vl.c | 1 + 7 files changed, 27 insertions(+), 20 deletions(-) -- 2.8.3