xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] CPU hotplug for qemu-xen
@ 2013-06-25 10:07 Anthony PERARD
  2013-06-25 10:07 ` [PATCH v4 1/2] libxl: Add "cpu-add" QMP command Anthony PERARD
  2013-06-25 10:07 ` [PATCH v4 2/2] libxl: Use QMP cpu-add to hotplug CPU with qemu-xen Anthony PERARD
  0 siblings, 2 replies; 5+ messages in thread
From: Anthony PERARD @ 2013-06-25 10:07 UTC (permalink / raw)
  To: Xen Devel; +Cc: Anthony PERARD, Stefano Stabellini, Ian Campbell

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.

Change since the last set:
  - 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          | 47 ++++++++++++++++++++++++++++++++++++++------
 tools/libxl/libxl_internal.h |  2 ++
 tools/libxl/libxl_qmp.c      | 21 ++++++++++++++++++++
 3 files changed, 64 insertions(+), 6 deletions(-)

-- 
Anthony PERARD

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-26 13:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-25 10:07 [PATCH v4 0/2] CPU hotplug for qemu-xen Anthony PERARD
2013-06-25 10:07 ` [PATCH v4 1/2] libxl: Add "cpu-add" QMP command Anthony PERARD
2013-06-25 10:07 ` [PATCH v4 2/2] libxl: Use QMP cpu-add to hotplug CPU with qemu-xen Anthony PERARD
2013-06-26 10:56   ` George Dunlap
2013-06-26 13:56   ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).