Re: [libvirt] [PATCH v3 0/3] Deprecate QMP & HMP `cpu-add`; document vCPU hotplug

[Cc: libvir-list] On Tue, Oct 30, 2018 at 01:35:23PM +0100, Kashyap Chamarthy wrote:
The first patch deprecates the QMP `cpu-add`, the second its HMP equivalent, and the third documents vCPU hotplug procedure using QMP `device_add` et al.
v2: https://lists.gnu.org/archive/html/qemu-devel/2018-09/msg03191.html
Kashyap Chamarthy (3): Deprecate QMP `cpu-add` Deprecate HMP `cpu-add` docs: Document vCPU hotplug procedure
docs/cpu-hotplug.rst | 142 +++++++++++++++++++++++++++++++++++++++++++ hmp-commands.hx | 6 +- hmp.c | 2 + qapi/misc.json | 8 ++- qemu-deprecated.texi | 5 ++ 5 files changed, 160 insertions(+), 3 deletions(-) create mode 100644 docs/cpu-hotplug.rst
-- 2.17.1
-- /kashyap

On 10/30/2018 02:00 PM, Kashyap Chamarthy wrote:
[Cc: libvir-list]
On Tue, Oct 30, 2018 at 01:35:23PM +0100, Kashyap Chamarthy wrote:
The first patch deprecates the QMP `cpu-add`, the second its HMP equivalent, and the third documents vCPU hotplug procedure using QMP `device_add` et al.
Thanks for heads up. Libvirt already uses device_add if 'query-hotpluggable-cpus' command is available and 'query-machines' returns 'hotpluggable-cpus: yes' for given machine type. It only falls back to cpu-add. Michal
participants (2)
-
Kashyap Chamarthy
-
Michal Privoznik