Skip to content

CPU hotplug for qemu-xen

Anthony PERARD xen-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 3 repliesIn review
  2. v42 patches 2 repliesSuperseded
  3. v32 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v22 patches6 repliesSuperseded

Changes in v5 from the cover letter

- added a comment about the ignored return value

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libxl: Add "cpu-add" QMP command.tools/libxl/libxl_internal.h tools/libxl/libxl_qmp.c+23 -02 replies
2/2libxl: Use QMP cpu-add to hotplug CPU with qemu-xen.tools/libxl/libxl.c+46 -60 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchIan CampbellGeorge Dunlap
1/2A-b A-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/2] CPU hotplug for qemu-xen

Hi all,

This series implements the 'cpu-add' QMP command to hotplug CPU with qemu-xen.

When using adding vcpus with this series, libxl will report many "error". This is because libxl call the QMP command 'cpu-add' for every plugged vcpus, even those that have been plugged before. There is currently no way to list cpus that are plugged by QEMU. Also, the way errors are handled by libxl_qmp those not help yet to suppress this error printing.

Unplug of vcpu is not supported by the series.

v5:
- added a comment about the ignored return value
v4:
- ignore the return value of libxl__qmp_cpu_add as it those not give any usefull information.

And before (v2-v3):
- use more and different macro in the libxl patch.

Anthony PERARD (2):
libxl: Add "cpu-add" QMP command.
libxl: Use QMP cpu-add to hotplug CPU with qemu-xen.

 tools/libxl/libxl.c          | 52 +++++++++++++++++++++++++++++++++++++++-----
 tools/libxl/libxl_internal.h |  2 ++
 tools/libxl/libxl_qmp.c      | 21 ++++++++++++++++++
 3 files changed, 69 insertions(+), 6 deletions(-)
Signature · 1 line
Anthony PERARD