From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony PERARD Subject: [PATCH v5 0/2] CPU hotplug for qemu-xen Date: Wed, 26 Jun 2013 16:54:29 +0100 Message-ID: <1372262071-31851-1-git-send-email-anthony.perard@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xen Devel Cc: Anthony PERARD , Ian Campbell List-Id: xen-devel@lists.xenproject.org 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(-) -- Anthony PERARD