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